diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-07 21:00:52 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-07 21:00:52 +0600 |
commit | 5f4b5cf044cff5263fa062596ace6180d42a4534 (patch) | |
tree | 3da8ec8a8ca9ce7f41929a5092c5e0ab5d2efa4c | |
parent | beb10f843f245efab24bec8ac6fead2834c5cce3 (diff) |
[addanime] Extend _VALID_URL (Closes #5372)
-rw-r--r-- | youtube_dl/extractor/addanime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/addanime.py b/youtube_dl/extractor/addanime.py index d2a60a056..28180bc3f 100644 --- 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', |