projects
/
twitter-api-cdsw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5afcef
)
updated cursor to new version of tweepy docs
author
Benjamin Mako Hill
<mako@atdot.cc>
Fri, 23 Oct 2015 02:42:29 +0000
(19:42 -0700)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Fri, 23 Oct 2015 02:42:29 +0000
(19:42 -0700)
twitter1-cursor.py
patch
|
blob
|
history
diff --git
a/twitter1-cursor.py
b/twitter1-cursor.py
index dfb1188af96ca4d13fe5aed8f00ed6b821677453..b7de59b04d584c0c0522b29c0ec75cf82958d96f 100644
(file)
--- a/
twitter1-cursor.py
+++ b/
twitter1-cursor.py
@@
-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:
-# 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)
Benjamin Mako Hill
||
Want to submit a patch?