projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab4bdc9
)
[funimation] PEP 8
author
Sergey M?
<dstftw@gmail.com>
Fri, 11 Dec 2015 15:11:45 +0000
(21:11 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 11 Dec 2015 17:00:36 +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 773d80fe82e30369fc204123a218e70c1da8b11c..6f6aaf30fa4ec3abd11be4486706be81c130de36 100644
(file)
--- a/
youtube_dl/extractor/funimation.py
+++ b/
youtube_dl/extractor/funimation.py
@@
-10,6
+10,7
@@
from ..utils import (
)
import re
)
import re
+
class FunimationIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P<id>[^?]+)'
class FunimationIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P<id>[^?]+)'
@@
-43,7
+44,7
@@
class FunimationIE(InfoExtractor):
raise ExtractorError('Funimation is not available in your region.', expected=True)
raise
if re.search(r'<meta property="og:url" content="http://www.funimation.com/login"/>', login) is not None:
raise ExtractorError('Funimation is not available in your region.', expected=True)
raise
if re.search(r'<meta property="og:url" content="http://www.funimation.com/login"/>', login) is not None:
-
raise ExtractorError('Unable to login, wrong username or password.', expected=True)
+ raise ExtractorError('Unable to login, wrong username or password.', expected=True)
def _real_initialize(self):
self._login()
def _real_initialize(self):
self._login()