diff options
author | Purdea Andrei <andrei@purdea.ro> | 2016-06-22 00:34:57 +0300 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-06-23 01:26:27 +0700 |
commit | dfc8f46e1c0e47a3b080d2e38d7d6da279f18fd2 (patch) | |
tree | 30ea387781597f44c0a15887f05b67c331a2c7dc /youtube_dl/extractor/vimeo.py | |
parent | c143ddce5d1e24697f891292ea865e6ed499f162 (diff) |
[vimeo:channel] Add video id to url_result
This will allow us to decide much faster that we don't want an already archived video,
and will allow having to download webpages for each video that has already been downloaded,
thus significantly speeding up the archival of channels that have no new content.
Diffstat (limited to 'youtube_dl/extractor/vimeo.py')
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 1f163d6a4..32490a8ed 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -652,7 +652,7 @@ class VimeoChannelIE(VimeoBaseInfoExtractor): yield self._extract_list_title(webpage) for video_id in re.findall(r'id="clip_(\d+?)"', webpage): - yield self.url_result('https://vimeo.com/%s' % video_id, 'Vimeo') + yield self.url_result('https://vimeo.com/%s' % video_id, 'Vimeo', video_id=video_id) if re.search(self._MORE_PAGES_INDICATOR, webpage, re.DOTALL) is None: break |