aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:25:19 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:25:19 +0100
commit5239075bb684bc2c19978dde70e3954bbe7a62de (patch)
tree7abebb8e42cc415e93e274b5d6971bf54be70804 /youtube_dl/extractor
parent84437adfa334a33daa147ad4d8a7f78a8ea9a7f5 (diff)
[mtv] Return a proper playlist result (#4254)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/mtv.py3
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)