Skip to content

Instantly share code, notes, and snippets.

@abelsonlive
Created December 13, 2012 17:16
Show Gist options
  • Save abelsonlive/4278058 to your computer and use it in GitHub Desktop.
Save abelsonlive/4278058 to your computer and use it in GitHub Desktop.
use selenium to get content from allmytweets.net
import codecs
import lxml.html as lh
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://www.allmytweets.net/?screen_name=brianabelson')
content = browser.page_source
print content
browser.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment