Преглед на файлове

[mtv] Strip the description

There were some tabs and newlines added around the string.
Jaime Marquínez Ferrándiz преди 12 години
родител
ревизия
0ab4ff6378
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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')
         if description_node is not None:
-            description = description_node.text
+            description = description_node.text.strip()
         else:
             description = None