From: Jaime Marquínez Ferrándiz Date: Thu, 10 Oct 2013 17:53:44 +0000 (+0200) Subject: [mtv] Strip the description X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=0ab4ff6378b40d35a0bd0e63c3bd9b837c4e6b74;p=youtube-dl.git [mtv] Strip the description There were some tabs and newlines added around the string. --- 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