projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb10f8
)
[addanime] Extend _VALID_URL (Closes #5372)
author
Sergey M․
<dstftw@gmail.com>
Tue, 7 Apr 2015 15:00:52 +0000
(21:00 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 7 Apr 2015 15:00:52 +0000
(21:00 +0600)
youtube_dl/extractor/addanime.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/addanime.py
b/youtube_dl/extractor/addanime.py
index d2a60a056b071758af58e6877eb24fe483dded1f..28180bc3f22f3c86a2f579038a4c41dc495dff8a 100644
(file)
--- a/
youtube_dl/extractor/addanime.py
+++ b/
youtube_dl/extractor/addanime.py
@@
-16,7
+16,7
@@
from ..utils import (
class AddAnimeIE(InfoExtractor):
- _VALID_URL = r'
^http://(?:\w+\.)?add-anime\.net/watch_video\.php\?(?:.*?)v=(?P<id>[\w_]+)(?:.*
)'
+ _VALID_URL = r'
http://(?:\w+\.)?add-anime\.net/(?:watch_video\.php\?(?:.*?)v=|video/)(?P<id>[\w_]+
)'
_TEST = {
'url': 'http://www.add-anime.net/watch_video.php?v=24MR3YO5SAS9',
'md5': '72954ea10bc979ab5e2eb288b21425a0',