updated cursor to new version of tweepy docs
authorBenjamin Mako Hill <mako@atdot.cc>
Fri, 23 Oct 2015 02:42:29 +0000 (19:42 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Fri, 23 Oct 2015 02:42:29 +0000 (19:42 -0700)
twitter1-cursor.py

index dfb1188..b7de59b 100644 (file)
@@ -9,7 +9,7 @@ auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
 api = tweepy.API(auth)
 
 # I found the idea of how to the user the Cursor here:
 api = tweepy.API(auth)
 
 # I found the idea of how to the user the Cursor here:
-#   https://tweepy.readthedocs.org/en/v3.2.0/cursor_tutorial.html
+#   https://tweepy.readthedocs.org/en/v3.4.0/cursor_tutorial.html
 for page in tweepy.Cursor(api.home_timeline, count=200).pages():
     for tweet in page:
         print(tweet.text)
 for page in tweepy.Cursor(api.home_timeline, count=200).pages():
     for tweet in page:
         print(tweet.text)

Benjamin Mako Hill || Want to submit a patch?