commit 0ab4ff6378b40d35a0bd0e63c3bd9b837c4e6b74
parent 63da13e8291e2debce073aea63bcfb710c0f5f1a
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date: Thu, 10 Oct 2013 19:53:44 +0200
[mtv] Strip the description
There were some tabs and newlines added around the string.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
@@ -87,7 +87,7 @@ class MTVIE(InfoExtractor):
description_node = itemdoc.find('description')
if description_node is not None:
- description = description_node.text
+ description = description_node.text.strip()
else:
description = None