diff options
author | Remita Amine <remitamine@gmail.com> | 2019-03-02 08:01:42 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-03-02 08:01:42 +0100 |
commit | dca0e0040ae97b2fc0cd54d5e819a5a278937350 (patch) | |
tree | 85d3f69b577b10658c8090b509b75921a071bb77 /youtube_dl/extractor | |
parent | 398e1e21d6cbf6eb1e8e7e84de4fad30b7d59613 (diff) |
Revert "use older login method(closes #11572)"
This reverts commit cc6a960e134614f8af2a42dcd8bf146d63638a3c.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/crunchyroll.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index 5e2cbe41d..ce2e2d3ba 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() |