projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youku] MD5 is unstable
[youtube-dl]
/
youtube_dl
/
extractor
/
ellentv.py
diff --git
a/youtube_dl/extractor/ellentv.py
b/youtube_dl/extractor/ellentv.py
index 464aeabdb5032c73e3101b9380d3f15457632ffa..02c6a4615c4436fecda86fb152a131f084640612 100644
(file)
--- a/
youtube_dl/extractor/ellentv.py
+++ b/
youtube_dl/extractor/ellentv.py
@@
-6,7
+6,6
@@
import json
from .common import InfoExtractor
from ..utils import (
ExtractorError,
from .common import InfoExtractor
from ..utils import (
ExtractorError,
- parse_iso8601,
)
)
@@
-54,7
+53,7
@@
class EllenTVClipsIE(InfoExtractor):
'id': 'meryl-streep-vanessa-hudgens',
'title': 'Meryl Streep, Vanessa Hudgens',
},
'id': 'meryl-streep-vanessa-hudgens',
'title': 'Meryl Streep, Vanessa Hudgens',
},
- 'playlist_mincount':
9
,
+ 'playlist_mincount':
7
,
}
def _real_extract(self, url):
}
def _real_extract(self, url):
@@
-78,4
+77,8
@@
class EllenTVClipsIE(InfoExtractor):
raise ExtractorError('Failed to download JSON', cause=ve)
def _extract_entries(self, playlist):
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]