A feature-rich command-line audio/video downloader
[channel9] Return a single dictionary for single videos (closes #7086)
Jaime Marquínez Ferrándizb30c4992a93d
diff --git a/youtube_dl/extractor/channel9.py b/youtube_dl/extractor/channel9.pyindex 3dfc24f5ba..79fd0a30ed 100644--- a/youtube_dl/extractor/channel9.py+++ b/youtube_dl/extractor/channel9.py@@ -224,12 +224,12 @@ class Channel9IE(InfoExtractor):if contents is None:return contents- authors = self._extract_authors(html)+ if len(contents) > 1:+ raise ExtractorError('Got more than one entry')+ result = contents[0]+ result['authors'] = self._extract_authors(html)- for content in contents:- content['authors'] = authors-- return contents+ return resultdef _extract_session(self, html, content_path):contents = self._extract_content(html, content_path)