From fdca55fe34a6d120c597641472856a296f1e80db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Mon, 3 Nov 2014 20:14:18 +0700 Subject: [PATCH] [trutube] Strip title --- youtube_dl/extractor/trutube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.22.2