aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-09-23 07:41:22 +0700
committerSergey M․ <dstftw@gmail.com>2017-09-23 07:41:22 +0700
commit136507b39a2b48cb775249e9724eeeedb56baed2 (patch)
tree55b0152576ca19619a864c504d0f6a4ea2fb50d6
parent7f4921b38d10c17fe354bab20b741b362c5ae0aa (diff)
[24video] Add support for 24video.adult (closes #14295)
-rw-r--r--youtube_dl/extractor/twentyfourvideo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twentyfourvideo.py b/youtube_dl/extractor/twentyfourvideo.py
index 7af11659f..cc51ca0ae 100644
--- a/youtube_dl/extractor/twentyfourvideo.py
+++ b/youtube_dl/extractor/twentyfourvideo.py
@@ -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',