commit: f6052ec923fbe4270a3733aeb8d4a9d5727ef80f
parent 4e9e1e240dea1c37c95ceef5e52c15534d56ca7c
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 15 Feb 2020 03:49:29 +0700
[24video] Add support for porn.24video.net (closes #23779, closes #23784)
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/twentyfourvideo.py b/youtube_dl/extractor/twentyfourvideo.py
@@ -17,7 +17,7 @@ class TwentyFourVideoIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://
(?P<host>
- (?:(?:www|porno)\.)?24video\.
+ (?:(?:www|porno?)\.)?24video\.
(?:net|me|xxx|sexy?|tube|adult|site|vip)
)/
(?:
@@ -62,6 +62,9 @@ class TwentyFourVideoIE(InfoExtractor):
}, {
'url': 'https://www.24video.vip/video/view/1044982',
'only_matching': True,
+ }, {
+ 'url': 'https://porn.24video.net/video/2640421-vsya-takay',
+ 'only_matching': True,
}]
def _real_extract(self, url):