swargaraj / udemy-py

🎓 Udemy downloader with DRM support.
https://t.me/+ixTitVxk4CIxNGVl
MIT License
27 stars 10 forks source link

missing asset key error #18

Open outtycast opened 2 days ago

outtycast commented 2 days ago

when lecture is missing the asset key get key not found error this course

need a try and except or other code to bypass

course url in text file

error occurs at challenge lecture. takes a bit to get to the error

info.txt

url.txt

caption key error
outtycast commented 2 days ago

my temp bypass

    try:
        resource_found = lect_info['detail']
    except:
        resource_found = "Resource found."

    if resource_found != 'Resource not found.':
bypass