diff --git a/src/you_get/extractors/youtube.py b/src/you_get/extractors/youtube.py index a76e0d2e..82d271f0 100644 --- a/src/you_get/extractors/youtube.py +++ b/src/you_get/extractors/youtube.py @@ -211,7 +211,8 @@ class YouTube(VideoExtractor): log.e('[Error] %s (%s)' % (playabilityStatus['reason'], subreason)) except: log.e('[Error] %s' % playabilityStatus['reason']) - log.e('View the video from a browser and export the cookies, then use --cookies to load cookies.') + if status == 'LOGIN_REQUIRED': + log.e('View the video from a browser and export the cookies, then use --cookies to load cookies.') exit(1) stream_list = ytInitialPlayerResponse['streamingData']['formats']