Open bani6809 opened 3 years ago
It is not just private videos. Any youtube url without an actual video returns the same error. Eg: https://www.youtube.com/watch?v=aaaaaaaaaaa
Just adding a
if ytplayer_config is None:
raise ExtractorError('Video is unavailable', expected=True)
will give a proper error message. But I don't know how to distinguish Private, wrong URL, deleted etc.
Related: #145
Checklist
Description
WRITE DESCRIPTION HERE
youtube videos which are 'private' generate a cryptic error message:
Probably should return something like this instead: