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
808 stars 233 forks source link

Crash While Running #52

Closed slashdotblake closed 3 years ago

slashdotblake commented 3 years ago

From version 4.0. I see you added in some error checking for the scraping. It may be fixed now, will continue testing.

Traceback (most recent call last): File "udemy.py", line 368, in get_course_id courseid = soup.find( TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "udemy.py", line 713, in main1 auto(links_ls) File "udemy.py", line 546, in auto course_id = get_course_id(link) File "udemy.py", line 375, in get_course_id courseid = soup.find( TypeError: 'NoneType' object is not subscriptable

Screenshot below of the course it choked: https://share.getcloudapp.com/mXupveWA

techtanic commented 3 years ago

The latest version is v4.1 I think this is #48

slashdotblake commented 3 years ago

I updated from v4.0 to v4.1. Ran it again and it completed successfully. Really nice software you have put together. Always wanted a program like this to keep track of the offers. It has saved me hours worth of time so far.

techtanic commented 3 years ago

Glad to hear such words, Thank you for spending your time to type it out.

slashdotblake commented 3 years ago

Encountered a similar error again when running the script on version 4.1.

Traceback (most recent call last): File "udemy.py", line 370, in get_course_id courseid = soup.find( TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "udemy.py", line 715, in main1 auto(links_ls) File "udemy.py", line 548, in auto course_id = get_course_id(link) File "udemy.py", line 377, in get_course_id courseid = soup.find( TypeError: 'NoneType' object is not subscriptable

See screenshot: https://share.getcloudapp.com/Blu4vXK0

slashdotblake commented 3 years ago

See above

techtanic commented 3 years ago

55