from requests import get from bs4 import BeautifulSoup as bs page = get("http://website.url/goes-here") soup = bs(page.content, 'html.parser')