I Don't Waste Time Parsing HTML (So I do THIS)
HTML-код
- Опубликовано: 10 сен 2024
- OK so it can't be avoided and this is nothing inherently BAD about parsing loads of HTML for scraping data, but the reason I keep banging on about this is that so many times there is just a much better way to get all the data you need, and often more.
This video I will walk you all through a script I wrote to grab some data from a modern website and show you how and why I made decisions in my code, plus share some data that you can't get from the HTML.
There's some other useful tips along the way too, including using more of my current favorite python package, Pydantic.
jsontopydantic...
github.com/jhn...
Patreon: / johnwatsonrooney
Proxies: iproyal.club/J...
Hosting: Digital Ocean: m.do.co/c/c7c9...
Gear I use: www.amazon.co....