]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[iqiyi] Change id for multipart videos
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 6 Jun 2015 17:57:05 +0000 (01:57 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 6 Jun 2015 17:57:05 +0000 (01:57 +0800)
youtube_dl/extractor/iqiyi.py

index c17e1fde4c3ff969c45e37acd0e3cbab723325f8..840cc9a4d8cc69bf083492004b9858848a9bf390 100644 (file)
@@ -207,7 +207,7 @@ class IqiyiIE(InfoExtractor):
             self._sort_formats(entries[i]['formats'])
             entries[i].update(
                 {
-                    'id': '_part%d' % (i + 1),
+                    'id': '%s_part%d' % (video_id, i + 1),
                     'title': title,
                 }
             )