diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-20 16:25:19 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-20 16:25:19 +0100 |
commit | 5239075bb684bc2c19978dde70e3954bbe7a62de (patch) | |
tree | 7abebb8e42cc415e93e274b5d6971bf54be70804 /youtube_dl | |
parent | 84437adfa334a33daa147ad4d8a7f78a8ea9a7f5 (diff) |
[mtv] Return a proper playlist result (#4254)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/mtv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index 474bdff7d..5f0f476b6 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -145,7 +145,8 @@ class MTVServicesInfoExtractor(InfoExtractor): idoc = self._download_xml( feed_url + '?' + data, video_id, 'Downloading info', transform_source=fix_xml_ampersands) - return [self._get_video_info(item) for item in idoc.findall('.//item')] + return self.playlist_result( + [self._get_video_info(item) for item in idoc.findall('.//item')]) def _real_extract(self, url): title = url_basename(url) |