techtanic/Discounted-Udemy-Course-Enroller

Process stopped after got unknown error

Closed this issue · 7 comments

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:

  • OS: Windows 11
  • d chrome
  • Version 22

Same on linux both gui and cli

Same on Windows 10

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

Should be fixed in next version

Fixed?

Fixed?

For me yes, thank you for your work :)

This issue now is fixed, thank you!