News for hackers. Stuff that matters.
Re:Web scraping is legal, US appeals court reaffirms by CWuestefeld on Monday April 18, 2022 @05:21PM (#31076719)
Rate limiting isn't an effective defense for us.

First, as a B2B site, many of our users from a given customer (and with huge customers, that can be many) are coming through the same proxy server, effectively presenting to us as the same IP,

Second, the bots years back became much more sophisticated than a single, or even relatively finite, IP. Today they work AWS, Azure, GCP, and other cloud services. So the IPs that they're assigned today will be different tomorrow. Worse, the IPs that they're assigned today may well be used by a real customer tomorrow.

Re:Web scraping is legal, US appeals court reaffirms by kevincox on Monday April 18, 2022 @06:55PM (#31077724)
If your users are logged in you can rate limit by user instead of by IP. This mostly solves this problem. Generally what I do is for logged in users I rate limit by user, then for not-logged-in users I rate limit aggressively by IP. If they hit the limit the message lets them know that they can get around it by logging in. Of course this depends on user accounts having some sort of cost to create. I've never actually implemented it but considered having only users who have made at least one purchase bypass the IP limit or otherwise get a bigger rate limit.
Re:Web scraping is legal, US appeals court reaffirms by gregsadetsky on Monday April 18, 2022 @05:36PM (#31076904)
Have you tried including the recaptcha v3 library and looking at the distribution of scores? -- https://developers.google.com/recaptcha/docs/v3 -- "reCAPTCHA v3 returns a score for each request without user friction"

It obviously depends on how motivated the scrapers are (i.e. whether their headless browsers are actually headless, and/or doing everything they can to not appear headless, whether Google has caught on to their latest tricks etc. etc.) but it would at least be interesting to look at the score distribution and then see whether you can cut off or slow down the < 0.3 scoring requests (or redirect them to your API docs)

Re:Web scraping is legal, US appeals court reaffirms by rckoepke on Monday April 18, 2022 @07:20PM (#31077965)
For web scraping specifically, I’ve developed key parts of commercial systems to automatically bypass reCAPTCHA, Arkose Labs (Fun Captcha), etc.

If someone dedicated themselves to it, there’s a lot more that these solutions could be doing to distinguish between humans and bots, but it requires true specialized talent and larger expenses.

Also, for a handful of the companies which make the most popular captcha solutions, I don’t think the incentives align properly to fully segregate human and bot traffic at this time.

I think we’re still very much still picking at the very lowest hanging fruit, both for anti-bot countermeasures and anti-anti-bot (counter-countermeasures).

Personally I believe this will finally accelerate once AI’s can play computer games via a camera, keyboard, and mouse. And when successors GPT-3 / PaLM can participate well in niche discussion forums like HackerNews or the Discord server for Rust.

Until then it’s mainly a cost filter or confidence modification. As long as enough bots are blocked so that the ones which remain are technically competent enough to not stress the servers, most companies don’t care. And as long as the businesses deploying reCAPTCHA are reasonably confident that most of the views they get are humans (even if that belief is false), Google doesn’t have a strong incentive to improve the system.

Reddit doesn’t seem to care much either. As long as the bots which participate are “good enough”, it drives engagement metrics and increases revenue.

Re:Web scraping is legal, US appeals court reaffirms by spiffytech on Monday April 18, 2022 @07:36PM (#31078106)
Scrapers can pay a commercial service to Mechanical Turk their way through reCAPTCHA. It makes a meaningful difference to scraping costs at scale, but sometimes it's still profitable.
Re:Web scraping is legal, US appeals court reaffirms by ajolly on Monday April 18, 2022 @09:23PM (#31078826)
I'd pay for a service to do this for me as an ordinary end user, so i never have to solve a captcha myself again.
Re:Web scraping is legal, US appeals court reaffirms by jfoster on Monday April 18, 2022 @09:55PM (#31079043)
You would still have to wait for each captcha to be solved, which might be more frustrating than doing it yourself.
Re:Web scraping is legal, US appeals court reaffirms by 9dev on Monday April 18, 2022 @06:18PM (#31077349)
It sounds great, until you have Chinese customers. That’s when you’ll figure out Recaptcha just doesn’t really work in China, and have to begrudgingly ditch it altogether…