1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[youtube] Expand _VALID_URL to support vid.plus

This commit is contained in:
Sergey M․ 2015-08-17 02:04:13 +06:00
parent f74a7348f6
commit cbaed4bb5e

View file

@ -202,7 +202,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
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=
)
)? # all until now is optional -> you can pass the naked ID
@ -624,6 +627,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'params': {
'skip_download': True,
},
},
{
'url': 'http://vid.plus/FlRa-iH7PGw',
'only_matching': True,
}
]