commit: 025f30ba38311cfffef7bafa31ae87b8365b47bd
parent 0d2fb1d19342aa1f9ae2f9509ca3cdb819c6b8d1
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Fri, 12 Dec 2014 13:07:43 +0100
[channel9] Do not return compat_list results anymore
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/youtube_dl/extractor/channel9.py b/youtube_dl/extractor/channel9.py
@@ -236,16 +236,17 @@ class Channel9IE(InfoExtractor):
if contents is None:
return contents
- session_meta = {'session_code': self._extract_session_code(html),
- 'session_day': self._extract_session_day(html),
- 'session_room': self._extract_session_room(html),
- 'session_speakers': self._extract_session_speakers(html),
- }
+ session_meta = {
+ 'session_code': self._extract_session_code(html),
+ 'session_day': self._extract_session_day(html),
+ 'session_room': self._extract_session_room(html),
+ 'session_speakers': self._extract_session_speakers(html),
+ }
for content in contents:
content.update(session_meta)
- return contents
+ return self.playlist_result(contents)
def _extract_list(self, content_path):
rss = self._download_xml(self._RSS_URL % content_path, content_path, 'Downloading RSS')