diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-10-10 19:53:44 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-10-10 19:53:44 +0200 |
commit | 0ab4ff6378b40d35a0bd0e63c3bd9b837c4e6b74 (patch) | |
tree | 7b10a4884e7c30c8685de6eb16c1ce34087b07f1 /youtube_dl | |
parent | 63da13e8291e2debce073aea63bcfb710c0f5f1a (diff) |
[mtv] Strip the description
There were some tabs and newlines added around the string.
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/mtv.py | 2 |
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 |