diff options
author | Unknown <blackjack4494@web.de> | 2020-10-18 03:04:10 +0200 |
---|---|---|
committer | Unknown <blackjack4494@web.de> | 2020-10-18 03:04:10 +0200 |
commit | 957c523eea6232fd85e5f5d0f2c16cf010db9f8a (patch) | |
tree | bf197b7d09b77a5e70983d4fdd64365b507b5b42 | |
parent | bc30d1e09ffac7fa29c86819d9648060468438e2 (diff) | |
download | hypervideo-pre-957c523eea6232fd85e5f5d0f2c16cf010db9f8a.tar.lz hypervideo-pre-957c523eea6232fd85e5f5d0f2c16cf010db9f8a.tar.xz hypervideo-pre-957c523eea6232fd85e5f5d0f2c16cf010db9f8a.zip |
[youtube] cookie update reminder
-rw-r--r-- | youtube_dlc/extractor/youtube.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ class YoutubeBaseInfoExtractor(InfoExtractor): 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( |