Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Cloudflare version 2 Captcha challenge #664

Closed
any0n3 opened this issue Jul 1, 2021 · 2 comments
Closed

Cloudflare version 2 Captcha challenge #664

any0n3 opened this issue Jul 1, 2021 · 2 comments
Labels
help-wanted Extra attention is needed

Comments

@any0n3
Copy link

any0n3 commented Jul 1, 2021

cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. udemy course url: [e.g https://www.udemy.com/machinelearning/] '...'
  2. Run the following command to reproduce the error.
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Python Environment (please complete the following information):

  • OS Platform: [e.g. Windows 10, Ubuntu 16.04, macOS Sierra]
  • Python Version [e.g. 3.x.x]

Additional context
Add any other context about the problem here.

@faldor20
Copy link

faldor20 commented Jul 1, 2021

This issue is a pretty poor job.. but I also had this problem.
I guess its possible udemy has just started using Cloudflare.
I was trying to download this course: https://www.udemy.com/course/dr-ks-complete-first-semester-general-chemistry-i-course/
I am on Windows 10 and live in Australia. I've no idea if the location is relevant but it's possible.
I've never tried to download any other courses before, I was already logged in when I tried it, it might be worth testing it after making sure you are logged out of udemy... just trying to think why Cloudflare captcha would be triggering.

@r0oth3x49
Copy link
Owner

I 'm using a third party module/lib and handled the exception simply. the alternative way is to use cookie based auth instead of user/pass

@r0oth3x49 r0oth3x49 added the help-wanted Extra attention is needed label Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants