projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b4c299b
)
[funimation] Fix login message
author
Sergey M?
<dstftw@gmail.com>
Fri, 11 Dec 2015 15:13:49 +0000
(21:13 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 11 Dec 2015 17:00:37 +0000
(23:00 +0600)
youtube_dl/extractor/funimation.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/funimation.py
b/youtube_dl/extractor/funimation.py
index 6f6aaf30fa4ec3abd11be4486706be81c130de36..8de28029f277452e5ddd48a39f25c7f6bc7bc97b 100644
(file)
--- 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_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)
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)