From: Yen Chi Hsuan Date: Mon, 20 Jul 2015 10:49:53 +0000 (+0800) Subject: [extractor/generic] Support vid.me embeds X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a1b85269a49404cab1f549d7c59352fe48dfbf19;p=youtube-dl [extractor/generic] Support vid.me embeds --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index dc24a8a8b..cd133a10c 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1196,6 +1196,12 @@ class GenericIE(InfoExtractor): if vimeo_url is not None: return self.url_result(vimeo_url) + vid_me_embed_url = self._search_regex( + r'src=[\'"](https?://vid\.me/[^\'"]+)[\'"]', + webpage, 'vid.me embed', default=None) + if vid_me_embed_url is not None: + return self.url_result(vid_me_embed_url, 'Vidme') + # Look for embedded YouTube player matches = re.findall(r'''(?x) (?: