1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[trutube] Strip title

This commit is contained in:
Sergey M․ 2014-11-03 20:14:18 +07:00
parent 4f195f55f0
commit fdca55fe34

View File

@ -29,7 +29,7 @@ def _real_extract(self, url):
# filehd is always 404 # filehd is always 404
video_url = xpath_text(config, './file', 'video URL', fatal=True) 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') thumbnail = xpath_text(config, './image', ' thumbnail')
return { return {