Browse Source

[ellentv:clips] Fix extraction

totalwebcasting
Sergey M․ 10 years ago
parent
commit
66be4b89d7
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      youtube_dl/extractor/ellentv.py

+ 5
- 1
youtube_dl/extractor/ellentv.py 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]

Loading…
Cancel
Save