Closed slashdotblake closed 3 years ago
The latest version is v4.1 I think this is #48
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.
Glad to hear such words, Thank you for spending your time to type it out.
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
See above
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