aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-10 19:53:44 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-10 19:53:44 +0200
commit0ab4ff6378b40d35a0bd0e63c3bd9b837c4e6b74 (patch)
tree7b10a4884e7c30c8685de6eb16c1ce34087b07f1 /youtube_dl/extractor
parent63da13e8291e2debce073aea63bcfb710c0f5f1a (diff)
[mtv] Strip the description
There were some tabs and newlines added around the string.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/mtv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index 001a576a8..e520e2bb4 100644
--- 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