> 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.
The State of Web Scraping in 2021
21–30 of 132 posts
If your scraping a popular website Google Trends should be a pretty good proxy
Re: The State of Web Scraping in 2021
#22Re: The State of Web Scraping in 2021
#23Surprised Woob[0] (formerly Weboob) isn't on the list. It's designed for specific tasks, such as getting transactions from your bank, events from different event pages, and much.
Re: The State of Web Scraping in 2021
#24I’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
#25Another tip, there are a few browser extensions that can record your interactions and generate a playwright script.
Here's one: https://chrome.google.com/webstore/detail/headless-recorder/...
Re: The State of Web Scraping in 2021
#26What 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
#27Is there open source software that can extract the "content" part of a given page cleanly? I'm thinking about what the reader mode in browsers can do as an example, where the main content is somehow isolated and displayed.
Re: The State of Web Scraping in 2021
#28For 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
#29Why no mention of selenium? Is it not cool anymore?
I have never heard of mechanicalsoup: is it selenium replacement?
Re: The State of Web Scraping in 2021
#30I 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.