diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-02-22 21:19:52 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-02-22 21:19:52 +0700 |
commit | 71e9577b94a4792a330e9bdab4674c6893ea5bac (patch) | |
tree | 53308e0857e763fb5b0c20f625de317a468ffb1f /youtube_dl/extractor/twentyfourvideo.py | |
parent | 0d427c83047778d2984df5594b96f119ec7f8771 (diff) |
[24video] Add support for 24video.tube (closes #12217)
Diffstat (limited to 'youtube_dl/extractor/twentyfourvideo.py')
-rw-r--r-- | youtube_dl/extractor/twentyfourvideo.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twentyfourvideo.py b/youtube_dl/extractor/twentyfourvideo.py index a983ebf05..f3541b654 100644 --- a/youtube_dl/extractor/twentyfourvideo.py +++ b/youtube_dl/extractor/twentyfourvideo.py @@ -12,7 +12,7 @@ from ..utils import ( class TwentyFourVideoIE(InfoExtractor): IE_NAME = '24video' - _VALID_URL = r'https?://(?:www\.)?24video\.(?:net|me|xxx|sex)/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?24video\.(?:net|me|xxx|sex|tube)/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)' _TESTS = [{ 'url': 'http://www.24video.net/video/view/1044982', @@ -37,6 +37,9 @@ class TwentyFourVideoIE(InfoExtractor): }, { 'url': 'http://www.24video.me/video/view/1044982', 'only_matching': True, + }, { + 'url': 'http://www.24video.tube/video/view/2363750', + 'only_matching': True, }] def _real_extract(self, url): |