-
-
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
danbooru cloudflare 403 no matter what #6496
Comments
Danbooru responds with 403 errors when using a standard/default What's your output for |
1.27.7 |
Then it's probably tor. edit:
|
yeah i figured, but imgbrd grabber works fine with tor and socks5 |
As it turns out, accessing the API through Tor always triggers a Cloudflare challenge page, even in a browser. Letting your browser solve the challenge by visiting an API page like https://danbooru.donmai.us/posts/686612.json, and using exported cookies and browser
but the
|
yep, removed that line of code from danbooru.py, works perfectly now. |
ignore 'extractor.user-agent' if it is the default useragent value and an extractor wants to set its own custom value
tried with cookies, login, multiple user agents, etc, while i can view links fine in web browsers gallery-dl always gives me cloudflare challenge 403.
maybe this has something to do with tor? i use tor with socks5 to access danbooru.
The text was updated successfully, but these errors were encountered: