We learned how we can scrap twitter data using BeautifulSoup. But BeautifulSoup is slow and we need to take care of multiple things.
Here we will see how to scrap data from websites using scrapy.
I tried scraping Python books details from Amazon.com using scrapy and I found it extremely fast and easy. We will see how to start working with scrapy, create a scraper, scrap data and save data to Database.
Scraper code is available on Github. I dumped the data in MySQL database and developed a mini Django app over it which is available here.
Continue reading “Scraping Python books data from Amazon using Scrapy Framework”
Twitter is one of the most popular social networking services used by most prominent people of world. Tweets can be used to perform sentimental analysis.
In this article we will see how to scrap tweets using BeautifulSoup. We are not using Twitter API as most of the APIs have rate limits.
Continue reading “Python Script 7: Scraping tweets using BeautifulSoup”