mirror of https://github.com/yt-dlp/yt-dlp.git
[youtube] Expand _VALID_URL to support vid.plus
This commit is contained in:
parent
f74a7348f6
commit
cbaed4bb5e
|
@ -202,7 +202,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
v=
|
v=
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
|youtu\.be/ # just youtu.be/xxxx
|
|(?:
|
||||||
|
youtu\.be| # just youtu.be/xxxx
|
||||||
|
vid\.plus # or vid.plus/xxxx
|
||||||
|
)/
|
||||||
|(?:www\.)?cleanvideosearch\.com/media/action/yt/watch\?videoId=
|
|(?:www\.)?cleanvideosearch\.com/media/action/yt/watch\?videoId=
|
||||||
)
|
)
|
||||||
)? # all until now is optional -> you can pass the naked ID
|
)? # all until now is optional -> you can pass the naked ID
|
||||||
|
@ -624,6 +627,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'url': 'http://vid.plus/FlRa-iH7PGw',
|
||||||
|
'only_matching': True,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue