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

Process stopped after got unknown error #139

Closed dimitrihuynh closed 1 year ago

dimitrihuynh commented 1 year ago

I got this unknown error when redeeming this course: https://www.udemy.com/course/5-ways-to-get-benefits-from-tiktok-work-from-home-passive/?couponCode=29ED67FDFCE43D2DCA92 ('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/5-ways-to-get-benefits-from-tiktok-work-from-home-passive/?couponCode=29ED67FDFCE43D2DCA92\nMyyaffiliate - How to earn on Tiktok 0 investment|:|Unknown Error v1.8')

So could we skip this and continue the process?

Screenshots image image

System Info:

tinkerbaj commented 1 year ago

Same on linux both gui and cli

lucasvperini commented 1 year ago

Same on Windows 10

stwillocks commented 1 year ago

Traceback (most recent call last): File "base.py", line 620, in free_checkout if r["status"] == "succeeded": TypeError: 'Response' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "gui.py", line 76, in scrape File "base.py", line 700, in enrol success = self.free_checkout(coupon_id, course_id) File "base.py", line 627, in free_checkout return r["detail"] TypeError: 'Response' object is not subscriptable

https://www.udemy.com/course/learn-basic-dreamweaver/?couponCode=FREE323G1S1 Adobe Dreamweaver | Basics Guide

w11

techtanic commented 1 year ago

Should be fixed in next version

techtanic commented 1 year ago

Fixed?

tinkerbaj commented 1 year ago

Fixed?

For me yes, thank you for your work :)

dimitrihuynh commented 1 year ago

This issue now is fixed, thank you!