diff options
author | Sergey M? <dstftw@gmail.com> | 2015-12-11 21:13:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-12-11 23:00:37 +0600 |
commit | 411e5b88c9d87f7deac35130d77f0c7243ff2a9d (patch) | |
tree | 28b1666f04311d025651321ce00d347a4a47afae /youtube_dl/extractor/funimation.py | |
parent | b4c299bad032c51736f52117fe8154751aecd6da (diff) |
[funimation] Fix login message
Diffstat (limited to 'youtube_dl/extractor/funimation.py')
-rw-r--r-- | youtube_dl/extractor/funimation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py index 6f6aaf30f..8de28029f 100644 --- a/youtube_dl/extractor/funimation.py +++ b/youtube_dl/extractor/funimation.py @@ -38,7 +38,8 @@ class FunimationIE(InfoExtractor): login_request = sanitized_Request(login_url, data) login_request.add_header('Content-Type', 'application/x-www-form-urlencoded') try: - login = self._download_webpage(login_request, login_url) + login = self._download_webpage( + login_request, None, 'Logging in as %s' % username) except ExtractorError as e: if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403: raise ExtractorError('Funimation is not available in your region.', expected=True) |