Skip to content

Instantly share code, notes, and snippets.

@datahutrepo
Created September 7, 2016 06:16
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 datahutrepo/c04354bf42bdb97698c2b8aef40fea91 to your computer and use it in GitHub Desktop.
Save datahutrepo/c04354bf42bdb97698c2b8aef40fea91 to your computer and use it in GitHub Desktop.
In [21]: page = requests.get('http://www.cnn.com')
In [22]: html_content = html.fromstring(page.content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment