Cant post my code because I'm new and it has links?
from bs4 import BeautifulSoup from urllib.request import urlopen url = "http://www.pythonforbeginners.com" content = urlopen(url).read() soup = BeautifulSoup(content) print( soup.prettify()) #print(title) #>> 'title'? Python For Beginners #print soup.title.string #>> ? Python For Beginners print(soup.p)