Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by centdev on Wednesday December 12, 2012 @09:42AM
(#4910229)
Are there known user agents that you can identify as coming from the scrapers? If so, you either block that way and not worry about IP addresses or choose to disable Google Analytics on those requests so it doesn't skew GA data.
[ Parent
| on HN ]
Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by bdcravens on Wednesday December 12, 2012 @09:46AM
(#4910250)
As was identified, most of the scraping occurs via Selenium. Selenium just automates a real browser, so it'd look like 100% legit traffic with a legit user agent (it defaults to using Firefox)
Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by chewxy on Wednesday December 12, 2012 @09:50AM
(#4910271)
So the solution is simple isn't it? Google Analytics filter > filter referers like Selenium (or the entire EC2 block).
Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by bdcravens on Wednesday December 12, 2012 @09:53AM
(#4910293)
Not sure how you could filter Selenium. A well written script looks like normal traffic.
Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by seats on Wednesday December 12, 2012 @10:35AM
(#4910515)
A well written scraper looks like normal traffic in the same way that a well written pseudo random number generator looks like a random number generator. It'll fool your eye but not statistical analysis.
Think about the goal of a scraper, it needs to actually walk through all the content. That doesn't look like a normal user at all. An individual request might look ok, but in aggregate the pattern of a robot pops out.
https://www.usenix.org/conference/usenixsecurity12/pubcrawl-...
Re:Ask HN: How are you dealing with scraping hits from EC2 m...
by brechin on Wednesday December 12, 2012 @10:43AM
(#4910567)
So, would that detection mechanism be able to deal with a number of coordinated scrapers rotating through lists of proxies, using different User-Agent strings, making requests with (pseudo-)random delays between requests?