aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-11-03 20:14:18 +0700
committerSergey M․ <dstftw@gmail.com>2014-11-03 20:14:18 +0700
commitfdca55fe34a6d120c597641472856a296f1e80db (patch)
tree82d95100572505aec0c1f2ea739a633dbae8580a /youtube_dl/extractor
parent4f195f55f0b734f2897319abf96c5542ce6212d4 (diff)
[trutube] Strip title
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/trutube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/trutube.py b/youtube_dl/extractor/trutube.py
index a73f3c43a..e7b79243a 100644
--- a/youtube_dl/extractor/trutube.py
+++ b/youtube_dl/extractor/trutube.py
@@ -29,7 +29,7 @@ class TruTubeIE(InfoExtractor):
# filehd is always 404
video_url = xpath_text(config, './file', 'video URL', fatal=True)
- title = xpath_text(config, './title', 'title')
+ title = xpath_text(config, './title', 'title').strip()
thumbnail = xpath_text(config, './image', ' thumbnail')
return {