projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b323a3c
)
[funimation] Extend _VALID_URL to match promotional videos
author
Sergey M․
<dstftw@gmail.com>
Fri, 11 Dec 2015 18:43:03 +0000
(
00:43
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 11 Dec 2015 18:43:03 +0000
(
00:43
+0600)
youtube_dl/extractor/funimation.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/funimation.py
b/youtube_dl/extractor/funimation.py
index 35328997b88b1afa46034479c73d94fe278f8f40..0b427961251320f199c9e73cc7433dfd847d654b 100644
(file)
--- a/
youtube_dl/extractor/funimation.py
+++ b/
youtube_dl/extractor/funimation.py
@@
-15,7
+15,7
@@
from ..utils import (
class FunimationIE(InfoExtractor):
class FunimationIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/[^/]+/videos/
official
/(?P<id>[^/?#&]+)'
+ _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/[^/]+/videos/
(?:official|promotional)
/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'http://www.funimation.com/shows/air/videos/official/breeze',
_TESTS = [{
'url': 'http://www.funimation.com/shows/air/videos/official/breeze',
@@
-37,6
+37,9
@@
class FunimationIE(InfoExtractor):
'description': 'md5:b602bdc15eef4c9bbb201bb6e6a4a2dd',
'thumbnail': 're:https?://.*\.jpg',
},
'description': 'md5:b602bdc15eef4c9bbb201bb6e6a4a2dd',
'thumbnail': 're:https?://.*\.jpg',
},
+ }, {
+ 'url': 'http://www.funimation.com/shows/attack-on-titan-junior-high/videos/promotional/broadcast-dub-preview',
+ 'only_matching': True,
}]
def _login(self):
}]
def _login(self):