1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 08:17:00 +00:00

[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) raise ExtractorError('Failed to download JSON', cause=ve)
def _extract_entries(self, playlist): 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]