Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from bs4 import BeautifulSoup
import urllib.request as req
url = ""
res = req.urlopen(url)
soup = BeautifulSoup(res, "html.parser")
title = soup.html.title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment