mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
[xvideos] Extend _VALID_URL (#22471)
This commit is contained in:
parent
76e510b92c
commit
4e72d02f39
1 changed files with 38 additions and 1 deletions
|
@ -17,7 +17,8 @@ class XVideosIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
(?:www\.)?xvideos\.com/video|
|
(?:[^/]+\.)?xvideos2?\.com/video|
|
||||||
|
(?:www\.)?xvideos\.es/video|
|
||||||
flashservice\.xvideos\.com/embedframe/|
|
flashservice\.xvideos\.com/embedframe/|
|
||||||
static-hw\.xvideos\.com/swf/xv-player\.swf\?.*?\bid_video=
|
static-hw\.xvideos\.com/swf/xv-player\.swf\?.*?\bid_video=
|
||||||
)
|
)
|
||||||
|
@ -39,6 +40,42 @@ class XVideosIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'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,
|
||||||
|
}, {
|
||||||
|
'url': 'http://xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://xvideos.es/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.xvideos.es/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'http://xvideos.es/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'http://www.xvideos.es/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'http://fr.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://fr.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'http://it.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://it.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'http://de.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
|
}, {
|
||||||
|
'url': 'https://de.xvideos.com/video4588838/biker_takes_his_girl',
|
||||||
|
'only_matching': True
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue