]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[dailymotion:playlist] Optimize download archive processing
authorDave <github@eric-carlier.me>
Thu, 28 Jul 2016 17:23:51 +0000 (19:23 +0200)
committerSergey M․ <dstftw@gmail.com>
Fri, 29 Jul 2016 15:45:41 +0000 (22:45 +0700)
youtube_dl/extractor/dailymotion.py

index 1f92823b74ab9da8176ac690841fa144c2630bc1..98d2c82f4a31cb6ede9fc6d2f84480ac7f5c6e40 100644 (file)
@@ -331,7 +331,7 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
 
             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: