Created
October 3, 2008 02:40
-
-
Save igorgue/14492 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
import feedparser | |
def get_tweets(query, page): | |
feeds = feedparser.parse("http://search.twitter.com/search.atom?q=" + str(query) + "&rpp&page=" + str(page) + "&show_user=true") | |
return feeds.entries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment