aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/myspass.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-07-14 00:21:11 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-07-14 00:23:50 +0800
commitcfe5537ee5ca5156f3969f513a1257be83015b1d (patch)
tree1f1cccad92ae82ec2fc81a67097f49f092837124 /youtube_dl/extractor/myspass.py
parent7869eb3fc44826533d859d3e7e32df5cd4be7ef4 (diff)
[myspass] Fix extraction (closes #6206)
Diffstat (limited to 'youtube_dl/extractor/myspass.py')
-rw-r--r--youtube_dl/extractor/myspass.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/myspass.py b/youtube_dl/extractor/myspass.py
index 5b9b9fbcd..4557a2b13 100644
--- a/youtube_dl/extractor/myspass.py
+++ b/youtube_dl/extractor/myspass.py
@@ -35,7 +35,8 @@ class MySpassIE(InfoExtractor):
# get metadata
metadata_url = META_DATA_URL_TEMPLATE % video_id
- metadata = self._download_xml(metadata_url, video_id)
+ metadata = self._download_xml(
+ metadata_url, video_id, transform_source=lambda s: s.strip())
# extract values from metadata
url_flv_el = metadata.find('url_flv')