In this video, I tackle a common web scraping mistake made by students when extracting web data. In this particular case, they struggled with iterating through product attributes and understanding the .get_text() function.
Join me as I explain the difference between using .get_text() on single objects (and why it doesn't work on a list of objects). Plus, I will show you how I use ChatGPT to clean up the code and enhance its performance.
Here's the code!
https://gist.github.com/hannesdatta/6...
Don't forget to like, subscribe, and share if you find this helpful!
#Python #WebScraping #CodingMistakes #ProgrammingTips
Auf dieser Seite können Sie das Online-Video Web Scraping Mistakes: Handling Lists in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Hannes Datta 14 September 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 107 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!