Skip to content
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

[skeb] [Error] HttpError: '429 ' #5210

Closed
thumthuma opened this issue Feb 17, 2024 · 6 comments
Closed

[skeb] [Error] HttpError: '429 ' #5210

thumthuma opened this issue Feb 17, 2024 · 6 comments

Comments

@thumthuma
Copy link

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

@mikf
Copy link
Owner

mikf commented Feb 17, 2024

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

@thumthuma
Copy link
Author

thumthuma commented Feb 17, 2024

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]'

@thumthuma thumthuma reopened this Feb 17, 2024
@chaimao403
Copy link

me too

@KennethSamael
Copy link

KennethSamael commented Feb 23, 2024

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.

@biggestsonicfan
Copy link

biggestsonicfan commented Feb 23, 2024

Is there currently an option to force-retry/request after a 429 status?

EDIT: There is:
"retry-codes": [429],
and it works!

@mikf mikf closed this as completed Feb 25, 2024
@mikf mikf pinned this issue Feb 25, 2024
@mikf mikf unpinned this issue Mar 1, 2024
@mikf mikf pinned this issue Mar 1, 2024
@mikf
Copy link
Owner

mikf commented Mar 6, 2024

-o "retry-codes=[429]"
or add the line from #5210 (comment) to your config.

@mikf mikf unpinned this issue Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@mikf @biggestsonicfan @chaimao403 @thumthuma @KennethSamael and others