Created
December 13, 2012 17:16
-
-
Save abelsonlive/4278058 to your computer and use it in GitHub Desktop.
use selenium to get content from allmytweets.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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