aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-17 02:04:13 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-17 02:04:13 +0600
commitcbaed4bb5e5e90103a1164d9326043a3abd0bf83 (patch)
treefeafbeafdf56ac7108fd75f4e10d25d516bb93e8 /youtube_dl
parentf74a7348f6ac52259ea66b74a40165b448fbd702 (diff)
[youtube] Expand _VALID_URL to support vid.plus
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youtube.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 4d1ca9298..8e2da46e3 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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,
}
]