Closed abdulalief closed 3 years ago
@abdulalief These Urls do not contain a discountCode hence we are raising an error that they are malformed. These courses are usually is FREE and the enroller currently only supports enrolling in paid courses which have a discount code to bring the price to Zero.
@cullzie i think there is a scope to graciously handle this with better try catch block.
@fakeid30 Ye it can be removed entirely. We can send it to a debug log since most people don't care about this happening or want to see it happening
Describe the bug Unexpected exception: Malformed url passed in: https://www.udemy.com/course/the-complete-ios-10-developer-course/
To Reproduce run the program as usual
python udemy_enroller.py
occasionally the error will occur on some of the linksExpected behavior should be auto enroll
Screenshots
Desktop (please complete the following information):
Additional context it looks like the bug appear when the course being open, are free courses on udemy should be auto enroll too.