import requests from bs4 import BeautifulSoup url= \'https://www.google.com\' res = requests.get(url) html_page= res.content soup = BeautifulSoup(html_page, \'html.