I am trying to download video using YouTube-dl in python, But sometime the video i am trying to download is copyrighted or deleted, So i get an error message from YouTube-dl:
[Example] Example: Downloading embed webpage
[Example] Example: Downloading f webpage
ERROR: Example: File not found
is there anyway i can make the error stop my python program ?