gallery-dl
gallery-dl copied to clipboard
[skeb] [Error] HttpError: '429 '
I used command gallery-dl https://skeb.jp/@[user] it returned [skeb][error] HttpError: '429 ' for 'https://skeb.jp/api/users/[user]/works/[number] it worked normally few days ago
Try gallery-dl --sleep-request 5-10 https://skeb.jp/@[user]
--sleep-request SECONDS Number of seconds to wait between HTTP requests
during data extraction
Try
gallery-dl --sleep-request 5-10 https://skeb.jp/@[user]
I tried, it replayed same as before
gallery-dl --sleep-request 5-10 https://skeb.jp/@[user]
[skeb][error] HttpError: '429 ' for 'https://skeb.jp/api/users/[user]/works/[number]'
me too
Seems like the status code lies. There's a Set-Cookie
header, and a Retry-After
header with a value of 0
. So if you're using a requests.Session
to handle cookies (which I assume gallery-dl already does for everything), you can just send another request immediately for a 200.
Is there currently an option to force-retry/request after a 429
status?
EDIT: There is:
"retry-codes": [429],
and it works!
-o "retry-codes=[429]"
or add the line from https://github.com/mikf/gallery-dl/issues/5210#issuecomment-1962073081 to your config.