diff --git a/src/you_get/extractors/youtube.py b/src/you_get/extractors/youtube.py index a76e0d2e08..82d271f07d 100644 --- a/src/you_get/extractors/youtube.py +++ b/src/you_get/extractors/youtube.py @@ -211,7 +211,8 @@ def prepare(self, **kwargs): 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']