r0oth3x49 / udemy-dl

A cross-platform python based utility to download courses from udemy for personal offline use.
MIT License
4.83k stars 1.19k forks source link

download udemy with error: cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version. #604

Closed yi-liu9 closed 3 years ago

yi-liu9 commented 3 years ago

Describe the bug 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):

Additional context Add any other context about the problem here.

yi-liu9 commented 3 years ago

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

r0oth3x49 commented 3 years ago

the error is related to 3rd party you should use cookie based method instead.