diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-10-06 23:22:52 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-10-06 23:22:52 +0700 |
commit | 09b9c45e242cb9e85beaa98b4783ec02065f1ec6 (patch) | |
tree | 33ef39857eadda05d4242e7225056a616579a548 /youtube_dl/extractor/generic.py | |
parent | 33898fb19c1af161c503ebce8f9a4774fecee45e (diff) |
[generic] Add support for multiple vimeo embeds (Closes #10862)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 9ea306e3a..8ef8fb5f4 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1754,9 +1754,9 @@ class GenericIE(InfoExtractor): if matches: return _playlist_from_matches(matches, ie='RtlNl') - vimeo_url = VimeoIE._extract_vimeo_url(url, webpage) - if vimeo_url is not None: - return self.url_result(vimeo_url) + vimeo_urls = VimeoIE._extract_urls(url, webpage) + if vimeo_urls: + return _playlist_from_matches(vimeo_urls, ie=VimeoIE.ie_key()) vid_me_embed_url = self._search_regex( r'src=[\'"](https?://vid\.me/[^\'"]+)[\'"]', |