[trutube] Strip title
This commit is contained in:
parent
4f195f55f0
commit
fdca55fe34
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class TruTubeIE(InfoExtractor):
|
||||||
|
|
||||||
# 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 {
|
||||||
|
|
Loading…
Reference in a new issue