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
Cloudflare/cookie expiration issue, (cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.) #591
[i] : Trying to login using session cookie
[-] : Udemy Says: 403 Forbidden session cookie seems to be expired...
[i] : Updating session cookie..
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.
This gets fixed when I completely log out and log in to generate a new access token and replace it within the cookies.txt. However sometimes during the downloading session, it gives me this error. Is there a workaround?
[i] : Trying to login using session cookie [-] : Udemy Says: 403 Forbidden session cookie seems to be expired... [i] : Updating session cookie.. cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.
This gets fixed when I completely log out and log in to generate a new access token and replace it within the cookies.txt. However sometimes during the downloading session, it gives me this error. Is there a workaround?