Web Scraping 101 with Python
scrapingbee.com
Web Scraping 101 with Python
1–10 of 134 posts
Re: Web Scraping 101 with Python
#2Re: Web Scraping 101 with Python
#3fetching html and then parsing it navigating the parsed result (or with regexp) is what used to work 20 years ago. These days, with all these reactive javascript frameworks you better skip to item number 5: headless browsing. Also mind that Facebook, Instagram, ... will have anti-scraping measures in place. It's a race ;)
Re: Web Scraping 101 with Python
#4fetching html and then parsing it navigating the parsed result (or with regexp) is what used to work 20 years ago. These days, with all these reactive javascript frameworks you better skip to item number 5: headless browsing. Also mind that Facebook, Instagram, ... will have anti-scraping measures in place. It's a race ;)
Re: Web Scraping 101 with Python
#5fetching html and then parsing it navigating the parsed result (or with regexp) is what used to work 20 years ago. These days, with all these reactive javascript frameworks you better skip to item number 5: headless browsing. Also mind that Facebook, Instagram, ... will have anti-scraping measures in place. It's a race ;)
This. Even relatively simple websites are much harder to parse today. I did a minor side project for a customer scraping some info and anti-scraping measures were in full force. It feels like an all out war.
Re: Web Scraping 101 with Python
#6As mentioned elsewhere, using anything other than headless isn't useful beyond a fairly narrow scope these days.
Re: Web Scraping 101 with Python
#7Earlier quoted context omitted.
This. Even relatively simple websites are much harder to parse today. I did a minor side project for a customer scraping some info and anti-scraping measures were in full force. It feels like an all out war.
Such as? I've never encounter anything I wasn't able to overcome.
Re: Web Scraping 101 with Python
#8Re: Web Scraping 101 with Python
#9Earlier quoted context omitted.
This. Even relatively simple websites are much harder to parse today. I did a minor side project for a customer scraping some info and anti-scraping measures were in full force. It feels like an all out war.
Such as? I've never encounter anything I wasn't able to overcome.
Still, I would love to learn more about your approach if you would be willing to share.
Re: Web Scraping 101 with Python
#10PyPpeteer might be worth a look as well. Basically a port of the JS puppeteer project that drives headless Chrome via the Devtools API. As mentioned elsewhere, using anything other than headless isn't useful beyond a fairly narrow scope these days. https://github.com/pyppeteer/pyppeteer
Even Google SERP can be scraped with a simple HTTP client.