A feature-rich command-line audio/video downloader
Revert "use older login method(closes #11572)"
Remita Aminedca0e0040ae9
diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.pyindex 5e2cbe41d7..ce2e2d3ba2 100644--- a/youtube_dl/extractor/crunchyroll.py+++ b/youtube_dl/extractor/crunchyroll.py@@ -56,17 +56,6 @@ class CrunchyrollBaseIE(InfoExtractor):if username is None:return- self._download_webpage(- 'https://www.crunchyroll.com/?a=formhandler',- None, 'Logging in', 'Wrong login info',- data=urlencode_postdata({- 'formname': 'RpcApiUser_Login',- 'next_url': 'https://www.crunchyroll.com/acct/membership',- 'name': username,- 'password': password,- }))-- '''login_page = self._download_webpage(self._LOGIN_URL, None, 'Downloading login page')@@ -110,7 +99,6 @@ class CrunchyrollBaseIE(InfoExtractor):raise ExtractorError('Unable to login: %s' % error, expected=True)raise ExtractorError('Unable to log in')- '''def _real_initialize(self):self._login()