Browse Source

[mtv] Strip the description

There were some tabs and newlines added around the string.
Jaime Marquínez Ferrándiz 12 years ago
parent
commit
0ab4ff6378
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/mtv.py

+ 1 - 1
youtube_dl/extractor/mtv.py

@@ -87,7 +87,7 @@ class MTVIE(InfoExtractor):
 
 
         description_node = itemdoc.find('description')
         description_node = itemdoc.find('description')
         if description_node is not None:
         if description_node is not None:
-            description = description_node.text
+            description = description_node.text.strip()
         else:
         else:
             description = None
             description = None