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

pixiv: cloudscraper requires paying to solve Cloudflare captcha v2 #4

Closed
teppyboy opened this issue Jan 1, 2023 · 1 comment
Closed

Comments

@teppyboy
Copy link
Owner

teppyboy commented Jan 1, 2023

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:

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.

During handling of the above exception, another exception occurred:

ayayaxyz.api.pixiv.PixivLoginError: 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.

along with VeNoMouS/cloudscraper#272 (comment) and other PRs mentioning "v2" are closed without any answer, it seems that we need to switch to other method to bypass cloudflare.

@teppyboy
Copy link
Owner Author

teppyboy commented Jan 5, 2023

fixed in 0d61f21 by using ByPassSniApi() to let pixivpy use requests.Session() instead of cloudscraper

@teppyboy teppyboy closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant