GithubHelp home page GithubHelp logo

Comments (20)

 avatar commented on June 2, 2024 1

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 avatar matalve commented on June 2, 2024 1

@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.

Cwarcup avatar Cwarcup commented on June 2, 2024

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.

tynzer avatar tynzer commented on June 2, 2024

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.

tigecyclindamycin avatar tigecyclindamycin commented on June 2, 2024

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.

nixfemby avatar nixfemby commented on June 2, 2024

Same problem on Linux as well

from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.

cullzie avatar cullzie commented on June 2, 2024

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.

nixfemby avatar nixfemby commented on June 2, 2024

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.

Oka4444 avatar Oka4444 commented on June 2, 2024

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.

cullzie avatar cullzie commented on June 2, 2024

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.

nixfemby avatar nixfemby commented on June 2, 2024

In my case it's Germany

from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.

CAINTECH avatar CAINTECH commented on June 2, 2024

@cullzie India

from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.

daverck avatar daverck commented on June 2, 2024

This issue is the same as #409

from automatic-udemy-course-enroller-get-paid-udemy-courses-for-free.

 avatar commented on June 2, 2024

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.

compukation avatar compukation commented on June 2, 2024

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.

MuhammadAmir1 avatar MuhammadAmir1 commented on June 2, 2024

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.

 avatar commented on June 2, 2024

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.

cullzie avatar cullzie commented on June 2, 2024

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.

matalve avatar matalve commented on June 2, 2024

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.

cullzie avatar cullzie commented on June 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.