Browse Source

[iqiyi] Change id for multipart videos

Yen Chi Hsuan 10 years ago
parent
commit
c4ee87022b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/iqiyi.py

+ 1 - 1
youtube_dl/extractor/iqiyi.py

@@ -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,
                 }
             )