News for hackers. Stuff that matters.
Re:The State of Web Scraping 2022 by joe_91 on Wednesday January 12, 2022 @08:11AM (#29905885)
I'm scraping about 30 sites for work at the moment, but have a few that are using Cloudflare which has been a b*tch to deal with. Tried numerous libraries and different proxy providers, but reliability is patchy. Previous fixes like https://github.com/Anorov/cloudflare-scrape don't seem to work anymore after Cloudflare updates, so I've switched to using a pretty optimised headless browser with good proxies instead.
Re:The State of Web Scraping 2022 by Ian_Kerins on Wednesday January 12, 2022 @08:18AM (#29905946)
This has a lot of good info on how to cloudflare and others work, and more creative ways to bypass them if the easier options don't work https://incolumitas.com/2021/05/20/avoid-puppeteer-and-playw...
Re:The State of Web Scraping 2022 by nanna on Wednesday January 12, 2022 @12:30PM (#29909979)
I'm finding that Cloudflare is even blocking my RSS reader from requesting feeds behind their service. It's not even just scrapers at this point.
Re:The State of Web Scraping 2022 by nsonha on Wednesday January 12, 2022 @05:57PM (#29913919)
> optimised headless browser with good proxies instead

are you saying you only had problem because you didn't use headless browser before and now with both headless and proxy it generally suffices to not be seen as scrapper?

Re:The State of Web Scraping 2022 by temp8964 on Wednesday January 12, 2022 @01:18PM (#29910758)
I think it will eventually goes to like stock trading. If you have a good strategy, you don't want to share with the world, because it will render your strategy useless.
Re:The State of Web Scraping 2022 by emptysea on Wednesday January 12, 2022 @10:48AM (#29908015)
Is the “pretty optimized headless browser” an off the shelf thing, or something custom? Are you using playwright/puppeteer to drive it?
Re:The State of Web Scraping 2022 by mycall on Wednesday January 12, 2022 @11:09AM (#29908425)
Headless Chrome [0] and alpine-Chrome [1] are pretty popular. Some variations also include V2Ray, Shadowsocks and other VPNs.

[0] https://hub.docker.com/r/justinribeiro/chrome-headless/

[1] https://github.com/Zenika/alpine-chrome

Re:The State of Web Scraping 2022 by rozenmd on Wednesday January 12, 2022 @11:10AM (#29908450)
Re:The State of Web Scraping 2022 by valar_m on Wednesday January 12, 2022 @10:30PM (#29916481)
Do you have any recommendations for the "good proxies" you mentioned?