filmov
tv
Python Scrapy Tutorial - 22 - Web Scraping Amazon
![preview_player](https://i.ytimg.com/vi/2vcp0fKq3aw/maxresdefault.jpg)
Показать описание
We will be scraping the books department of amazon. More specifically the collection of books that were released in the last 30 days. Now if you are following along, you don't have to choose books. You can choose any department on amazon.
I already created the project 'AmazonTutorial' on pycharm and have installed scrapy. If you don't remember how to install scrapy you can always go back to my installing scrapy video.
Now before we run our spider, I just want you want to tell you that are program might not work. If you have scraped amazon before then it's not going to work but if this you first time then the above code will work. The reason for it not working is that amazon puts on restrictions when you are trying to scrape a lot of its data. So we are going to bypass those restriction by using something known as user agents. But before we get into that lets actually run our program
Next video - Bypass restrictions using User-Agents
#python
Комментарии