Comments (20)
I am trying to use this for the first time but after entering email and pw it is giving this error.
No cookie available Exception in redeem courses: Unable to get csrf_token
it's working now. use @Asunnya's commit or just the developer branch.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
@matalve Could you please confirm you are on the latest version? Running with
udemy_enroller --debug
should output the version details. If not you you are likely on the older version of the library. In which case can you check with pip to see the version installed. Thanks
You are absolutely correct, after "pip install udemy_enroller -U" it works again. Thank you very much for you good work.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Same here. Not sure if it makes a difference but I'm running on MacOS 13.0.1, pip 22.3.1 and python 3.10.
The error occurs after the initial setup via udemy_enroller
or udemy_enroller --browser=chrome
.
I can see the saved data in my user folder.
After I enter my credentials and then run udemy_enroller --browser=chrome
I get the following error:
raise ValueError(f"There is no such driver by url {resp.url}")
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/108.0.5359.71/chromedriver_mac64_m1.zip
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
I am trying to use this for the first time but after entering email and pw it is giving this error.
No cookie available Exception in redeem courses: Unable to get csrf_token
Yes I have same problem with windows
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Same error: after running "udemy_enroller" > input and save username + password, I get:
Loading existing settings
No cookie available
Exception in redeem courses: Unable to get csrf_token
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Same problem on Linux as well
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Hey All,
I am not seeing this issue.
Are you running the latest version of the library? (4.1.2)
Are you running behind a vpn? This can sometimes cause issues.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
I've just tried it again, in my case I'm using version 4.1.2 which is installed through pip and Python 3.10
Also not using any VPN or proxy
Full output:
/home/ruby/.local/lib/python3.10/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Loading existing settings
No cookie available
Exception in redeem courses: Unable to get csrf_token```
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
same here
> python3 udemy_enroller.py Loading existing settings No cookie available Exception in redeem courses: Unable to get csrf_token
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Unfortunately until I have the issue I cannot do much about this one. Usually this is a sign that some changes are rolling out but only for specific regions. Can you tell me what region you are in @Oka4444 @wxifuwu ? Maybe I could reproduce with a vpn
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
In my case it's Germany
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
@cullzie India
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
This issue is the same as #409
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
same here. i was on a VPN and i turned it off but still getting the same error.
Loading existing settings No cookie available Exception in redeem courses: Unable to get csrf_token
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
same here, I haven't found .cookies in .udemy_enroller, maybe the script isn't creating
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
still not working with dev branch too. Exception in redeem courses: Unable to get csrf_token. I've tried in windows, linux, with python 3.11, 3.10,3.8. but all failed. same cookie error I manually created .cookie file then this works fine. but .cookie file not created automatically.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
still not working with dev branch too. Exception in redeem courses: Unable to get csrf_token. I've tried in windows, linux, with python 3.11, 3.10,3.8. but all failed. same cookie error I manually created .cookie file then this works fine. but .cookie file not created automatically.
get it from the release history and then update the udemy_rest.py file as in the dev branch. it's not working for me anymore though. i am now getting this error:
HTTP error while trying to fetch Udemy information 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100 Unable to fetch existing courses. Login was not successful Exception in redeem courses: 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100
it looks like the request is being blocked now. udemy has made changes like more captchas probably.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
The latest version (4.1.3) has just been released to master and pypi.
Please let me know if the issues above have been resolved. Thanks
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Still have the same issue unfortunately.
$ udemy_enroller
Loading existing settings
No cookie available
Exception in redeem courses: Unable to get csrf_token
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
@matalve Could you please confirm you are on the latest version?
Running with udemy_enroller --debug
should output the version details.
If not you you are likely on the older version of the library. In which case can you check with pip to see the version installed. Thanks
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.
Related Issues (20)
- [BUG] Exception in redeem courses: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="email"]"} HOT 23
- [BUG] ERROR message when I try to install on Windows 11 HOT 1
- [BUG] I don't get any new courses only (already enrolled in: ...) HOT 2
- [QUESTION] : Move to a single http request library HOT 5
- [FEATURE REQUEST] : Modernize build system HOT 2
- [QUESTION] The script card stops here for a long time, and then runs again after a while HOT 2
- [FEATURE REQUEST] List of ALL enrolled in courses
- [BUG] Fix code scanning alert - Incomplete regular expression for hostnames
- [QUESTION] Unable to Start with Docker HOT 4
- [QUESTION] Rewrite the code to support Termux HOT 1
- [BUG] Unable to fetch existing courses. Login was not successful HOT 1
- [BUG] idownloadcoupon scraper error HOT 4
- HTTP error while trying to fetch Udemy information [BUG] HOT 5
- [BUG] Unexpected exception: 403 Client Error HOT 12
- [BUG] Unable to locate element: {"method":"css selector","selector":"[name="submit"]"} HOT 1
- [BUG] list index out of range HOT 2
- [BUG] Can't install requirements.txt with pip3 HOT 7
- [BUG]No cookie available Exception in redeem courses: Unable to get csrf_token with or without browser HOT 4
- [BUG] 6-Digit Verification is breaking down the bot. HOT 3
- Unable to get csrf_token [QUESTION]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.