Live data from Hacker News

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

news.ycombinator.com

11–20 of 42 posts

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

#11

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

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.

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

#14
post #3

Let's examine your motivation: why do you want to block said scrapers in the first place? SEO concerns (dupe content)?

Mostly duplicate content & messing up my analytics (increased bounce rate, decreased time spend on page etc.)

What analytics are you using? I thought most would use javascript to avoid problems like this, and I would wager that the vast majority of bots don't bother executing javascript. You will always have legit bots hitting your site as well.

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

#15
post #3

Let's examine your motivation: why do you want to block said scrapers in the first place? SEO concerns (dupe content)?

Mostly duplicate content & messing up my analytics (increased bounce rate, decreased time spend on page etc.)

Because it seems to be from selenium (from referer), it is triggering the JS too, we are using Google Analytics.

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

#18

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.

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

#19

Earlier quoted context omitted.

Mostly duplicate content & messing up my analytics (increased bounce rate, decreased time spend on page etc.)

Because it seems to be from selenium (from referer), it is triggering the JS too, we are using Google Analytics.

Why not exclude the EC2 ip range from analytics ?
Post reply on HN