aapatre / Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
GNU General Public License v3.0
3.14k stars 545 forks source link

[BUG]Unable to fetch existing courses. Login was not successful #244

Closed xoco70 closed 3 years ago

xoco70 commented 3 years ago

I am on the alpha branch. Yesturday, I could make it work.

Today, after launching it with:

python3 udemy_enroller.py

➜  Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE git:(alpha) ✗ python3 udemy_enroller.py
Loading existing settings
Loaded cookies from file
Loading existing course details
Unable to fetch existing courses. Login was not successful

I tried to log in manually with my user / pass and I can do it successfully.

is there a debug mode? What should I do ?

fakeid30 commented 3 years ago

Run it with --debug

yaasin12 commented 3 years ago

C:\Users\Yaas\Desktop\ud1>py ud.py --debug Enabled debug logging Loading existing settings Loaded cookies from file Loading existing course details Unable to fetch existing courses. Login was not successful Exception in redeem courses: 'results'

cullzie commented 3 years ago

Ye we need to implement a retry if the cookies have expired. You can remove them manually from your home directory for now. Just delete the .cookie file

xoco70 commented 3 years ago

yep, found it here : rm ~/.udemy_enroller/.cookie, now working

khdan commented 3 years ago

same here