mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 02:01:50 +00:00
[dailymotion:playlist] Optimize download archive processing
This commit is contained in:
parent
da0baba5c8
commit
485fedf6fd
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
|
||||||
|
|
||||||
for video_id in re.findall(r'data-xid="(.+?)"', webpage):
|
for video_id in re.findall(r'data-xid="(.+?)"', webpage):
|
||||||
if video_id not in video_ids:
|
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)
|
video_ids.add(video_id)
|
||||||
|
|
||||||
if re.search(self._MORE_PAGES_INDICATOR, webpage) is None:
|
if re.search(self._MORE_PAGES_INDICATOR, webpage) is None:
|
||||||
|
|
Loading…
Reference in a new issue