Jun-03-2019, 03:41 PM
Here some basics stuff using the first Tourist Attraction.
We have a tutorial here Web-Scraping part-1
>>> article = page_content.find('div', class_="article_block site") >>> article.find('h2') <h2 class="sitename" id="N-OSL-VIG"><b>1</b> Vigeland Sculpture Park</h2> >>> article.find('h2').text '1 Vigeland Sculpture Park' >>> >>> official_site = article.find('div', class_="web").find('a') >>> official_site.get('href') 'http://www.vigeland.museum.no/en/vigeland-park'As mention bye @heiner55,try yourself.
We have a tutorial here Web-Scraping part-1