Created
June 7, 2009 14:35
-
-
Save siuying/125353 to your computer and use it in GitHub Desktop.
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
# link is the link to full text article | |
doc = open(link).read | |
hdoc = Hpricot(doc) | |
text = (hdoc.search(".livewords")).inner_html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment