فهرست منبع

[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