1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-30 10:22:55 +01:00

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

This commit is contained in:
Sergey M․ 2020-02-15 03:49:29 +07:00
parent 4e9e1e240d
commit f6052ec923
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -17,7 +17,7 @@ class TwentyFourVideoIE(InfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
https?:// https?://
(?P<host> (?P<host>
(?:(?:www|porno)\.)?24video\. (?:(?:www|porno?)\.)?24video\.
(?:net|me|xxx|sexy?|tube|adult|site|vip) (?:net|me|xxx|sexy?|tube|adult|site|vip)
)/ )/
(?: (?:
@ -62,6 +62,9 @@ class TwentyFourVideoIE(InfoExtractor):
}, { }, {
'url': 'https://www.24video.vip/video/view/1044982', 'url': 'https://www.24video.vip/video/view/1044982',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://porn.24video.net/video/2640421-vsya-takay',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):