1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-09 20:52:30 +01:00

[dailymotion:playlist] Optimize download archive processing

This commit is contained in:
Dave 2016-07-28 19:23:51 +02:00 committed by Sergey M․
parent da0baba5c8
commit 485fedf6fd
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -331,7 +331,7 @@ def _extract_entries(self, id):
for video_id in re.findall(r'data-xid="(.+?)"', webpage):
if video_id not in video_ids:
yield self.url_result('http://www.dailymotion.com/video/%s' % video_id, 'Dailymotion')
yield self.url_result('http://www.dailymotion.com/video/%s' % video_id, 'Dailymotion', video_id)
video_ids.add(video_id)
if re.search(self._MORE_PAGES_INDICATOR, webpage) is None: