youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit fdca55fe34a6d120c597641472856a296f1e80db
parent 4f195f55f0b734f2897319abf96c5542ce6212d4
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon,  3 Nov 2014 20:14:18 +0700

[trutube] Strip title

Diffstat:
Myoutube_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 @@ -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 {