Web Scraping Mistakes: Handling Lists in Python

Publié le: 14 septembre 2023
sur la chaîne: Hannes Datta
107
0

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Web Scraping Mistakes: Handling Lists in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Hannes Datta 14 septembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 107 fois et il a aimé 0 téléspectateurs. Bon visionnage!