News for hackers. Stuff that matters.
Re:Web Scraping in Python – The Complete Guide by DishyDev on Tuesday February 20, 2024 @02:15PM (#39445573)
I've had to do a lot of scraping recently and something that really helps is https://pypi.org/project/requests-cache/ . It's a drop in replacement for the requests library but it caches all the responses to a sqlite database.

Really helps if you need to tweak your script and you're being rated limited by the sites you're scraping.

There are no comments on this comment yet.