From 957c523eea6232fd85e5f5d0f2c16cf010db9f8a Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 18 Oct 2020 03:04:10 +0200 Subject: [PATCH] [youtube] cookie update reminder --- youtube_dlc/extractor/youtube.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dlc/extractor/youtube.py b/youtube_dlc/extractor/youtube.py index fbfc11563..bfc79e07b 100644 --- a/youtube_dlc/extractor/youtube.py +++ b/youtube_dlc/extractor/youtube.py @@ -100,6 +100,8 @@ def _login(self): if username is None: if self._LOGIN_REQUIRED and self._downloader.params.get('cookiefile') is None: raise ExtractorError('No login info available, needed for using %s.' % self.IE_NAME, expected=True) + if self._downloader.params.get('cookiefile') and False: # TODO remove 'and False' later - too many people using outdated cookies and open issues, remind them. + self.to_screen('[Cookies] Reminder - Make sure to always use up to date cookies!') return True login_page = self._download_webpage(