[xvideos] Detect embed URLs (#1729)

Authored by: 4a1e2y5
pull/1631/head^2
4a1e2y5 3 years ago committed by GitHub
parent 77fcc65158
commit 849d699a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ class XVideosIE(InfoExtractor):
(?: (?:
(?:[^/]+\.)?xvideos2?\.com/video| (?:[^/]+\.)?xvideos2?\.com/video|
(?:www\.)?xvideos\.es/video| (?:www\.)?xvideos\.es/video|
flashservice\.xvideos\.com/embedframe/| (?:www|flashservice)\.xvideos\.com/embedframe/|
static-hw\.xvideos\.com/swf/xv-player\.swf\?.*?\bid_video= static-hw\.xvideos\.com/swf/xv-player\.swf\?.*?\bid_video=
) )
(?P<id>[0-9]+) (?P<id>[0-9]+)
@ -37,6 +37,9 @@ class XVideosIE(InfoExtractor):
}, { }, {
'url': 'https://flashservice.xvideos.com/embedframe/4588838', 'url': 'https://flashservice.xvideos.com/embedframe/4588838',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://www.xvideos.com/embedframe/4588838',
'only_matching': True,
}, { }, {
'url': 'http://static-hw.xvideos.com/swf/xv-player.swf?id_video=4588838', 'url': 'http://static-hw.xvideos.com/swf/xv-player.swf?id_video=4588838',
'only_matching': True, 'only_matching': True,

Loading…
Cancel
Save