Skip to content

Instantly share code, notes, and snippets.

@JeffersGlass
Created September 13, 2020 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeffersGlass/12015ee098ef43bdaafe59a642e9e465 to your computer and use it in GitHub Desktop.
Save JeffersGlass/12015ee098ef43bdaafe59a642e9e465 to your computer and use it in GitHub Desktop.
import requests
from bs4 import BeautifulSoup
url = "http://jeff.glass/bs.html"
websiteText = requests.get(url).text
soup = BeautifulSoup(websiteText, 'lxml')
#print(soup)
#print(soup.prettify())
#print(soup.title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment