Browse Source

[ellentv:clips] Fix extraction

master
Sergey M․ 9 years ago
parent
commit
66be4b89d7
1 changed files with 5 additions and 1 deletions
  1. 6
      youtube_dl/extractor/ellentv.py

6
youtube_dl/extractor/ellentv.py

@ -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]
Loading…
Cancel
Save