techtanic / Discounted-Udemy-Course-Enroller

A script/software for automatically enrolling/joining 100% discounted Udemy courses for free. Get Paid Udemy courses for free with just a few clicks.
https://duce.techtanic.space
MIT License
785 stars 227 forks source link

Program Not Working from last 3 Months [Bug]: #140

Closed radha2000 closed 1 year ago

radha2000 commented 1 year ago

What happened?

Both GUI and CLI are stopping after 1 or 2 minutes showing an error

[5 / 356] JavaScript How to create Dynamic and Interactive Web pages https://www.udemy.com/course/javascript-intro-to-learning-javascript/?couponCode=BBHFREE ('Error', 'Traceback (most recent call last):\n File "cli.py", line 44, in scrape\n File "base.py", line 694, in enrol\n purchased, amount, coupon_valid = self.check_course(\n File "base.py", line 455, in check_course\n if r["redeem_coupon"]["discount_attempts"][0]["status"] == "applied":\nKeyError: \'redeem_coupon\'\n\n\nhttps://www.udemy.com/course/javascript-intro-to-learning-javascript/?couponCode=BBHFREE\nJavaScript How to create Dynamic and Interactive Web pages|:|Unknown Error v1.8')

Screenshot (380)

Enroller

GUI

OS

Windows

Relevant log output

[5 / 356] JavaScript How to create Dynamic and Interactive Web pages https://www.udemy.com/course/javascript-intro-to-learning-javascript/?couponCode=BBHFREE
('Error', 'Traceback (most recent call last):\n  File "cli.py", line 44, in scrape\n  File "base.py", line 694, in enrol\n    purchased, amount, coupon_valid = self.check_course(\n  File "base.py", line 455, in check_course\n    if r["redeem_coupon"]["discount_attempts"][0]["status"] == "applied":\nKeyError: \'redeem_coupon\'\n\n\nhttps://www.udemy.com/course/javascript-intro-to-learning-javascript/?couponCode=BBHFREE\nJavaScript How to create Dynamic and Interactive Web pages|:|Unknown Error v1.8')

Terms

techtanic commented 1 year ago

Fixed in new version. kindly try it out and let me know