commit 5239075bb684bc2c19978dde70e3954bbe7a62de parent 84437adfa334a33daa147ad4d8a7f78a8ea9a7f5 Author: Philipp Hagemeister <phihag@phihag.de> Date: Thu, 20 Nov 2014 16:25:19 +0100 [mtv] Return a proper playlist result (#4254) Diffstat:
M | youtube_dl/extractor/mtv.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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)