Skip to content

A feature-rich command-line audio/video downloader

[24video] Add support for porn.24video.net (closes #23779, closes #23784)

Sergey M․f6052ec923fb
diff --git a/youtube_dl/extractor/twentyfourvideo.py b/youtube_dl/extractor/twentyfourvideo.py
index 2830c212eb..74d14049b4 100644
--- 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):