1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[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.
This commit is contained in:
Purdea Andrei 2016-06-22 00:34:57 +03:00 committed by Sergey M․
parent c143ddce5d
commit dfc8f46e1c
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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