aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-06-07 01:57:05 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-06-07 01:57:05 +0800
commitc4ee87022bd18863fc3f22f80064453e272d956f (patch)
treea0f461de26cf7996aba681186afec661bb3639bd /youtube_dl/extractor
parentffba4edb067238b593b98c71f4293e9b60ba95ce (diff)
[iqiyi] Change id for multipart videos
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/iqiyi.py2
1 files changed, 1 insertions, 1 deletions
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,
}
)