Ask HN: What do people use to prevent crawlers?
1–10 of 123 posts
Re: Ask HN: What do people use to prevent crawlers?
#2Re: Ask HN: What do people use to prevent crawlers?
#3Re: Ask HN: What do people use to prevent crawlers?
#4For ill-behaved ones, it depends on why you're trying to block them. Rate throttling, IP blocking, requiring login, or just gating all access to the site with HTTP Basic Auth can all work.
Re: Ask HN: What do people use to prevent crawlers?
#5Re: Ask HN: What do people use to prevent crawlers?
#6https://blog.cloudflare.com/introducing-scrapeshield-discove...
There's a nice Github repo with some advice on blocking scrapers:
https://github.com/JonasCz/How-To-Prevent-Scraping
Finally, you could use a plugin in your Webserver to display a CAPTCHA to visitors from IP addresses that cause a lot of requests to your site.
There are many more strategies available (up to creating fake websites / content to lead crawlers astray), but the CAPTCHA solution is the most robust one. It will not be able to protect you against crawlers that use a large source IP pool to access your site though.
Re: Ask HN: What do people use to prevent crawlers?
#7Re: Ask HN: What do people use to prevent crawlers?
#8then Zip bombs.
Re: Ask HN: What do people use to prevent crawlers?
#9You really can't protect against this unless you start making the experience of regular visitors much worse.