Sunday, February 7, 2010

html to a database.

Hi all,

do you know the most efficient way to put the content of an html file
into a
mySQL database?

1.- I have the html document in my hard disk.
2.- Then I Open the file
3.- Read the content
4.- Write all the content it in a SQL db

I am using scrapy to crawl through the websites and then i want to put
the data that i collect to a database. I have gone through the
tutorial but couldn't find much about it...i was thinking of using
django beacuse of its capabilities...

Any help appreciated


Thanks!

harshit

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment