Browse Source

[myspass] Fix extraction (closes #6206)

totalwebcasting
Yen Chi Hsuan 10 years ago
parent
commit
cfe5537ee5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/myspass.py

+ 2
- 1
youtube_dl/extractor/myspass.py View File

@ -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')


Loading…
Cancel
Save