[funimation] Fix login message
authorSergey M? <dstftw@gmail.com>
Fri, 11 Dec 2015 15:13:49 +0000 (21:13 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 11 Dec 2015 17:00:37 +0000 (23:00 +0600)
youtube_dl/extractor/funimation.py

index 6f6aaf30fa4ec3abd11be4486706be81c130de36..8de28029f277452e5ddd48a39f25c7f6bc7bc97b 100644 (file)
@@ -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)