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
In questa pagina del sito puoi guardare il video online Web Scraping Mistakes: Handling Lists in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Hannes Datta 14 settembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 107 volte e gli è piaciuto 0 spettatori. Buona visione!