I am new to Selenium and was trying to scrape YouTube. But I encountered a weird problem. I was trying to scrape the following:
And this is my code:
When I do this in the interactive shell then it works fine but when I rerun the script after saving it then it shows me an error saying the element can't be found. What is that I am missing. Please Help
Aucun commentaire:
Enregistrer un commentaire