Quote:Thats the issue I'm also having. How can I get the XML code of the page I'm trying to access?as nilamo points out, it's most likely html and not XML.
you should be using beautiful soup.
There's an excellent 2-part tutorial on this forum by snippsat, on scraping with beautifulsoup
part1 here: https://python-forum.io/Thread-Web-Scraping-part-1
part2 here: https://python-forum.io/Thread-Web-scraping-part-2