From: Yen Chi Hsuan Date: Sat, 6 Jun 2015 17:57:05 +0000 (+0800) Subject: [iqiyi] Change id for multipart videos X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c4ee87022bd18863fc3f22f80064453e272d956f;p=youtube-dl [iqiyi] Change id for multipart videos --- diff --git a/youtube_dl/extractor/iqiyi.py b/youtube_dl/extractor/iqiyi.py index c17e1fde4..840cc9a4d 100644 --- a/youtube_dl/extractor/iqiyi.py +++ b/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, } )