Circumventing twitter request quota #5863
-
I'm trying to pull media tweets and update them periodically in 600 profiles, two millions tweet in total Lets say i already have all the tweets in the 600 profiles from yesterday. A while ago when i was trying to archive videos from youtube with i found
If i cant reduce the requests, i will only be able to update a few profiles per day, with each profile updating per week or two Any information on the subject will help. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is no You should probably use
Each API endpoint can only be called ~50 times in a 15 minute window. Any more and gallery-dl waits until those 15 minutes are over and Twitter allows to be queried again. |
Beta Was this translation helpful? Give feedback.
-
I am currently using "gallery-dl.exe https://x.com/just_for_example -T 5" which will stop downloading tweets for user "just_for_example" if it detects 5 tweets have been downloaded in a row. You can change this number to match your requirements, but in the case you describe, I'm sure changing 5 to 1 is acceptable. |
Beta Was this translation helpful? Give feedback.
There is no
--flat-playlist
, but it wouldn't help here anyway.You should probably use
-A/--abort
when updating a profile to stop early when going over previously downloaded media, or something like--filter "date < datetime(2024, 6, 31) or abort()"
to stop when reaching Tweets before a certain date.Each API endpoint can only be called ~50 times in a 15 minute window. Any more and gallery-dl waits until those 15 minutes are over and Twitter allows to be queried again.