skip to Main Content

urllib brings does not bring all elements in website – Html

I am trying to use this code for scraping: from bs4 import BeautifulSoup open_url = urllib.request.urlopen('https://en.wikipedia.org/wiki/Guitar') guitars = open_url.read() soup = BeautifulSoup(guitars, 'html.parser') soup I am getting a result in HTML that includes the following line: <div class="vector-sitenotice-container"> <div id="siteNotice"><!--…

VIEW QUESTION
Back To Top
Search