projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7869eb3
)
[myspass] Fix extraction (closes #6206)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Mon, 13 Jul 2015 16:21:11 +0000
(
00:21
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Mon, 13 Jul 2015 16:23:50 +0000
(
00:23
+0800)
youtube_dl/extractor/myspass.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/myspass.py
b/youtube_dl/extractor/myspass.py
index 5b9b9fbcd0844897d6d63305ed00729e70c7f4fb..4557a2b13b3e47a75242ebd4a5c095bf17cbaacf 100644
(file)
--- 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')