From: Sergey M․ Date: Sun, 16 Aug 2015 20:04:13 +0000 (+0600) Subject: [youtube] Expand _VALID_URL to support vid.plus X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=cbaed4bb5e5e90103a1164d9326043a3abd0bf83;p=youtube-dl [youtube] Expand _VALID_URL to support vid.plus --- 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, } ]