Skip to content

Instantly share code, notes, and snippets.

@igorgue
Created October 3, 2008 02:40
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 igorgue/14492 to your computer and use it in GitHub Desktop.
Save igorgue/14492 to your computer and use it in GitHub Desktop.
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