aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ted.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-10 12:09:12 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-10 12:09:12 +0100
commitbe6dfd1b4954e32009f788ea55ee06bb82781f4b (patch)
treee56d7a221bfca1cbb43ccbf552350ba70e828992 /youtube_dl/extractor/ted.py
parent231516b6c983561cdfb7d58a07bb78a5fa132e10 (diff)
downloadyoutube-dl-be6dfd1b4954e32009f788ea55ee06bb82781f4b.tar.xz
[ted] Return a single info_dict for talks urls
It failed with the --list-subs option
Diffstat (limited to 'youtube_dl/extractor/ted.py')
-rw-r--r--youtube_dl/extractor/ted.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py
index 1b006bc9b..76cfdfb90 100644
--- a/youtube_dl/extractor/ted.py
+++ b/youtube_dl/extractor/ted.py
@@ -36,7 +36,7 @@ class TEDIE(SubtitlesInfoExtractor):
def _real_extract(self, url):
m=re.match(self._VALID_URL, url, re.VERBOSE)
if m.group('type_talk'):
- return [self._talk_info(url)]
+ return self._talk_info(url)
else :
playlist_id=m.group('playlist_id')
name=m.group('name')