]> jfr.im git - yt-dlp.git/commitdiff
[youtube] cookie update reminder
authorUnknown <redacted>
Sun, 18 Oct 2020 01:04:10 +0000 (03:04 +0200)
committerUnknown <redacted>
Sun, 18 Oct 2020 01:04:10 +0000 (03:04 +0200)
youtube_dlc/extractor/youtube.py

index fbfc11563c2e505c3d2bcf542d22d5fadac36ed2..bfc79e07bbc114c29fd8aaa487cb9407db9913e2 100644 (file)
@@ -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(