[ellentv:clips] Fix extraction

This commit is contained in:
Sergey M․ 2015-04-24 22:09:54 +06:00
parent 870744ce8f
commit 66be4b89d7

View File

@ -78,4 +78,8 @@ class EllenTVClipsIE(InfoExtractor):
raise ExtractorError('Failed to download JSON', cause=ve)
def _extract_entries(self, playlist):
return [self.url_result(item['url'], 'EllenTV') for item in playlist]
return [
self.url_result(
'kaltura:%s:%s' % (item['kaltura_partner_id'], item['kaltura_entry_id']),
'Kaltura')
for item in playlist]