Created
December 22, 2011 07:21
-
-
Save RichardBronosky/1509344 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from pylibcurl import curl; | |
| from private_settings import TWITTER_USERNAME, TWITTER_PASSWORD | |
| url='https://stream.twitter.com/1/statuses/filter.json?track=@%s' % (TWITTER_USERNAME) | |
| userpwd='%s:%s' % (TWITTER_USERNAME, TWITTER_PASSWORD) | |
| while True: | |
| c=curl.Curl(url=url, userpwd=userpwd); | |
| c.perform() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment