Skip to content

Comment on Ask HN: How are you dealing with scraping hits from EC2 machines?

Comments

Do you have a robots.txt? That's the standard way.

Calling them "scrapers" implies they are doing something nefarious (stealing content). Robots.txt is for law abiding bots.

Not really. "Scraping" just refers to extracting data from a site using an automated method, it doesn't have any connotations about the motivation or acceptability of the process.

robots.txt can be ignored, it's just a reference for honest spiders. I think the way described above, of listing top requestors, doing statistics and then automating blocking is indeed the best way. Could also be there's a blocklist or two around of malicious scrapers. And if there isn't, that's a new business proposal.

That is the way to block spiders that obey the standards and enough do not that robots.txt is not a solution.

You'd end up blocking all traffic then. When was was the last time you pulled robots.txt?

Someone scraping your site may not respect robots.txt

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.