Live data from Hacker News

The State of Web Scraping in 2021

mihaisplace.blog

21–30 of 132 posts

Re: The State of Web Scraping in 2021

#21
post #11

> Crawl at off-peak traffic times. If a news service has most of its users present between 9 am and 10 pm – then it might be good to crawl around 11 pm or in the wee hours of the morning. How do you know this if it is not your website? Also, the internet has no time zone.

If your scraping a popular website Google Trends should be a pretty good proxy

Re: The State of Web Scraping in 2021

#22

Earlier quoted context omitted.

Same as always - proxy farms, random popular UAs with random delays etc.

so will Google's freezing of the UA lead to less ability to web scrape for the non big company scrapers out there?

You can easily spoof the UA

Re: The State of Web Scraping in 2021

#24
I’ll chime in with mine: Skyscraper (Clojure) [0] builds on Enlive/Reaver (which in turn build on JSoup), but tries to address cross-cutting concerns like caching, fetching HTML (preferably in parallel), throttling, retries, navigation, emitting the output as a dataset, etc.

Re: The State of Web Scraping in 2021

#26
post #14

What kind of stuff are people needing to scrape?

I have a side-project where I display the schedule of the day of 100+ French radios, like you would for TV channels.

Scraping works great to get the data.

I don't like node/js but I use it to do the scraping as I view the code as trash and full of edge cases and unreliable data / types and I can't complain, a dynamic scripting language is great for that.

Re: The State of Web Scraping in 2021

#28
For Python, instead of BeautifulSoup I prefer to use selectolax which is 3-5 times faster.

Also, I think very few people use MechanicalSoup nowadays. There are libraries that allow you to use headless Chrome, e.g. Playwright.

It looks like the author of the article just googled some libraries for each language and didn't research the topic.

Re: The State of Web Scraping in 2021

#30
I just needed a service to reliably fetch raw pages that I can process in my own application and so far I've been happy with this: https://promptapi.com/marketplace/description/adv_scraper-ap...

$30 / month for 300K requests, rotating residential proxies, uses headless Chromium, etc.

Post reply on HN