aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-24 22:09:54 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-24 22:09:54 +0600
commit66be4b89d73adcfeb9cd31cd0c903ecca40e2152 (patch)
treee3a333e7d9cfe26f884b22547c92366712ac1d10
parent870744ce8f03bdd50a1d4d4ba87913aecba35716 (diff)
[ellentv:clips] Fix extraction
-rw-r--r--youtube_dl/extractor/ellentv.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ellentv.py b/youtube_dl/extractor/ellentv.py
index 464aeabdb..54601786a 100644
--- a/youtube_dl/extractor/ellentv.py
+++ b/youtube_dl/extractor/ellentv.py
@@ -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]