-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Twitter] "429 Too Many Requests" when providing a large list - How do I wait between urls? #788
Comments
Since I already had all the urls neatly in a textfile, I looked up a way to process them individually. Finding https://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/ I now have a temporary workaround:
I'd prefer a solution inside gallery-dl, though. If there is any, of course. |
I'm afraid there isn't a way to wait in between input URLs. The only options related to waiting are I did plan to add an option to specify a wait time between "regular" HTTP requests, and I might as well add one to wait between input URLs. |
one thing that i found while coding a project of my own is that if you can detect http error 429 you can send a command to any system to reset all dchp ips and it works for me
|
What does Twitter care about lan ips that it doesn't even see? Isn't it rather the time it takes for the renew the important factor? |
When I was making a program to download reddit videos it worked. I don't
know why, but you could try it to see if it does anything.
…On Tue, Jun 2, 2020, 9:40 PM espressoelf ***@***.***> wrote:
What does Twitter care about lan ips that it doesn't even see? Isn't it
rather the time it takes for the renew the important factor?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#788 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALHBLBIRNZ27CS75WBR2N33RUWS2HANCNFSM4NLAEPMQ>
.
|
Hello everyone,
when updating my favorite Twitter users, I often run into HttpError "429 Too Many Requests". This totally makes sense, because I'm using a list with many users/urls and each of them only takes a short time since most content was already downloaded.
[twitter][error] HttpError: '429 Too Many Requests' for 'https://twitter.com/i/profiles/show/[SOME_USERNAME]/timeline/tweets'
Reading the doc, I found "sleep" https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractorsleep, but as far as I understood, it sleeps after every image.
How do I "sleep" between the different urls provided via textfile using the -i switch to prevent error 429?
The text was updated successfully, but these errors were encountered: