-
In case if process failed, I'd like to save something about the last succeeded cursor/page position and continue the operation from the cursor position, is that possible with Tweepy? |
Beta Was this translation helpful? Give feedback.
Answered by
Harmon758
May 1, 2019
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
If the pagination is by cursor, as is the case with Lines 11 to 31 in 8ce6e8c prev_cursor and next_cursor attributes of the CursorIterator:Lines 61 to 68 in 8ce6e8c |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Harmon758
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the pagination is by cursor, as is the case with
API.followers_ids
, then the iterator you're using is a CursorIterator returned byCursor.pages
:tweepy/tweepy/cursor.py
Lines 11 to 31 in 8ce6e8c