[iqiyi] Change id for multipart videos

This commit is contained in:
Yen Chi Hsuan 2015-06-07 01:57:05 +08:00
parent ffba4edb06
commit c4ee87022b

View file

@ -207,7 +207,7 @@ def _real_extract(self, url):
self._sort_formats(entries[i]['formats']) self._sort_formats(entries[i]['formats'])
entries[i].update( entries[i].update(
{ {
'id': '_part%d' % (i + 1), 'id': '%s_part%d' % (video_id, i + 1),
'title': title, 'title': title,
} }
) )