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

[Bug]: Nonetype error #127

Closed jaan143 closed 1 year ago

jaan143 commented 1 year ago

What happened?

it was working fine till 26 october but sins yesterday it is giving this error. Seems like udemy website is updated so kindly update scrpit according to udemy please.

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "C:\Users\Hp\Downloads\Compressed\Discounted-Udemy-Course-Enroller-master\Discounted-Udemy-Course-Enroller-master\GUI\duce.py", line 540, in auto
    course_id = get_course_id(link)
  File "C:\Users\Hp\Downloads\Compressed\Discounted-Udemy-Course-Enroller-master\Discounted-Udemy-Course-Enroller-master\GUI\duce.py", line 308, in get_course_id
    courseid = soup.find(
TypeError: 'NoneType' object is not subscriptable

Terms

jaan143 commented 1 year ago

@SammyCode-sudo dear can you please help to fix this

jaan143 commented 1 year ago

@techtanic its working fine now after you updated script. thank you very much.