Re:How to Crawl the Web Politely with Scrapy
by stummjr on Thursday August 25, 2016 @09:24AM
(#12358778)
Scrapy is asynchronous, but it provides many settings that you can use to avoid DDoS a website, such as limiting the amount of simultaneous requests for each domain or IP address.
And yes, crawling politely requires a bit of effort from both ends: the crawler and the website.
Re:How to Crawl the Web Politely with Scrapy
by jsargiox on Thursday August 25, 2016 @09:24AM
(#12358777)
I agree, at the end of the day being polite or not is on the developer and not the tool itself...
Re:How to Crawl the Web Politely with Scrapy
by greglindahl on Thursday August 25, 2016 @12:15PM
(#12360237)
Search engine crawlers use adaptive politeness: start being very polite, and ramp up parallel fetches if the site responds quickly and has a lot of pages.
As for robots.txt problem is most sites don’t even have one. Especially e-commerce sites. They also don’t have a sitemap.xml in case you don’t want to hit every url just to find the structure of the site. Being polite in many cases takes a considerable effort.