aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ted.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-09-29 05:12:57 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-09-29 05:12:57 +0200
commita8eb5a8e610a2b90eac2789d5b5f3cda81f543bb (patch)
treeec748d03de6dba82156ba5f71c3a9df84967c303 /youtube_dl/extractor/ted.py
parent6043f1df4e4f74bd0ade52b3fc0938ff241366dc (diff)
[generic] Fix testcases
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 1cca47771..d5e28efad 100644
--- a/youtube_dl/extractor/ted.py
+++ b/youtube_dl/extractor/ted.py
@@ -149,7 +149,7 @@ class TEDIE(SubtitlesInfoExtractor):
thumbnail = 'http://' + thumbnail
return {
'id': video_id,
- 'title': talk_info['title'],
+ 'title': talk_info['title'].strip(),
'uploader': talk_info['speaker'],
'thumbnail': thumbnail,
'description': self._og_search_description(webpage),