in reply to Re^2: multiple URL web scraping
in thread multiple URL web scraping

I don't see a while loop, the code you posted doesn't have any additional URLs to scrape. It's always better to post the code you are actually running when asking for help. One thing I would suggest with your code, use 3 argument open, open/Three-arg open().

Replies are listed 'Best First'.
Re^4: multiple URL web scraping
by Lisa1993 (Acolyte) on Nov 03, 2016 at 09:39 UTC

    Thank you, yeah that makes complete sense, and I'm not sure why I didn't do that yesterday, to be honest! And thanks for the tip regarding the 3 argument open, I will modify my code to include it. Thanks!