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

POST:Detected a Cloudflare version 2 Captcha challenge #166

Closed
bakashigure opened this issue Apr 1, 2021 · 3 comments
Closed

POST:Detected a Cloudflare version 2 Captcha challenge #166

bakashigure opened this issue Apr 1, 2021 · 3 comments
Labels

Comments

@bakashigure
Copy link

after using refresh_token for a few months, the problem appeared today,
i have tried to regenerate a new fresh_token, but it`s the same as the old one...

Traceback (most recent call last):
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
pixivpy3.utils.PixivError: requests POST https://oauth.secure.pixiv.net/auth/token error: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.`
@bakashigure
Copy link
Author

this problem doesn`t appear every time, only once in about four to five requests

@upbit
Copy link
Owner

upbit commented Apr 8, 2021

This problem is thrown by cloudscraper. If there is a need to bypass, you can refer to its documentation to configure a paid bypass proxy.

At present, it mainly relies on cloudscraper to resolve the correct host. The simpler way of processing is to change the proxy or refresh repeatedly.

@upbit upbit added the question label Apr 8, 2021
@bakashigure
Copy link
Author

I get it, thanks.

The solution I'm using now is to repeat the request, which doesn't completely solve the problem, but at least it's better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants