-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resuming collection after interruption #589
Comments
Hello @igorbrigadir, and everyone else! This is pretty crazy, because I came here to post the exact same question because of disconnection problems I randomly have in my office... So I do not really understand: is it a feature you are planning to add, or is it already possible to resume collections after interruptions? Thanks a lot in advance, as usual! : ) |
I agree it would be a nice feature to have (it doesn't exist yet), and shouldn't be too tricky given |
Gods, when it is implemented, I'll send you guys chocolates or whatever, that will be so useful! ^^ Thanks again for your hard work and efforts to keep improving the tool by the way! : ) |
Kinda both, it doesn't exist in the command line twarc yet, but it's possible to do this with the library, https://twittercommunity.com/t/pulling-a-large-data-set-with-twarc2-client/165685/6?u=igorbrigadir all you need is to extract a |
Thanks for the feedback, and for the link to the thread! So, if I understand correctly, I would need to find the |
Yes, except there's no way to add the |
Ok, thanks a lot for your reactivity and your clarification! : ) |
Thinking about this because of #656 - I think there's two layers to this:
|
It should be possible to pick up where you left off, for a long running search - if you read the last request and use the pagination token. As far as i can tell, these pagination tokens don't expire. Will try and see how long they last (in case they do). This could also be used to resume searches across months - if you run out of your monthly quota or something.
Ideally it will be a
--resume
option - with a@resumable
decorator on the command line options that can read an existing file, and continue appending and paginating given an existing pagination token. The client code should already support this, so these changes are mostly in the command line tool.The text was updated successfully, but these errors were encountered: