]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[24video] Add support for 24video.adult (closes #14295)
authorSergey M․ <dstftw@gmail.com>
Sat, 23 Sep 2017 00:41:22 +0000 (07:41 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 23 Sep 2017 00:41:22 +0000 (07:41 +0700)
youtube_dl/extractor/twentyfourvideo.py

index 7af11659f36e9fb2eb570bcee4d897597e3af6da..cc51ca0ae624a46a24786f89e4c9c09a40b224d0 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 
 class TwentyFourVideoIE(InfoExtractor):
     IE_NAME = '24video'
-    _VALID_URL = r'https?://(?P<host>(?:www\.)?24video\.(?:net|me|xxx|sex|tube))/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
+    _VALID_URL = r'https?://(?P<host>(?:www\.)?24video\.(?:net|me|xxx|sex|tube|adult))/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
 
     _TESTS = [{
         'url': 'http://www.24video.net/video/view/1044982',