Vimeo: When parsing vimeo user playlist, include video id in 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:
parent
7cfc1e2a10
commit
ce9399f79c
@ -631,7 +631,7 @@ class VimeoChannelIE(VimeoBaseInfoExtractor):
|
|||||||
yield self._extract_list_title(webpage)
|
yield self._extract_list_title(webpage)
|
||||||
|
|
||||||
for video_id in re.findall(r'id="clip_(\d+?)"', 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:
|
if re.search(self._MORE_PAGES_INDICATOR, webpage, re.DOTALL) is None:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user