Skip to content

Instantly share code, notes, and snippets.

@vlad2792
Created February 18, 2018 11:13
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 vlad2792/13a045a255c04d615e38c73b9b37df46 to your computer and use it in GitHub Desktop.
Save vlad2792/13a045a255c04d615e38c73b9b37df46 to your computer and use it in GitHub Desktop.
Create a webscraper
import requests
page = requests.get("http://time.com/4912055/donald-trump-phoenix-arizona-transcript/")
from bs4 import BeautifulSoup
soup = BeautifulSoup(page.content, 'html.parser')
print (soup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment