[ted] Return a single info_dict for talks urls

It failed with the --list-subs option
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-10 12:09:12 +01:00
parent 231516b6c9
commit be6dfd1b49
2 changed files with 4 additions and 6 deletions

View file

@ -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')