Browse Source

[extractor/generic] Support vid.me embeds

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
a1b85269a4
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      youtube_dl/extractor/generic.py

+ 6
- 0
youtube_dl/extractor/generic.py View File

@ -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)
(?:


Loading…
Cancel
Save