]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/viewlift.py
[extractor] Add `_perform_login` function (#2943)
[yt-dlp.git] / yt_dlp / extractor / viewlift.py
index 5b558d89047b951034408e544fdc2dfe8183d233..4627f66fdf174ca208ec71695901929cf600f169 100644 (file)
@@ -36,9 +36,6 @@ class ViewLiftBaseIE(InfoExtractor):
     def _fetch_token(self, site, url):
         if self._TOKENS.get(site):
             return
-        email, password = self._get_login_info(netrc_machine=site)
-        if email:
-            self.report_warning('Logging in using username and password is broken. %s' % self._LOGIN_HINTS['cookies'])
 
         cookies = self._get_cookies(url)
         if cookies and cookies.get('token'):