]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ellentv:clips] Fix extraction
authorSergey M․ <dstftw@gmail.com>
Fri, 24 Apr 2015 16:09:54 +0000 (22:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 24 Apr 2015 16:09:54 +0000 (22:09 +0600)
youtube_dl/extractor/ellentv.py

index 464aeabdb5032c73e3101b9380d3f15457632ffa..54601786a78d6ca2693171218dbaf0a646281552 100644 (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]