projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84437ad
)
[mtv] Return a proper playlist result (#4254)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:25:19 +0000
(16:25 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:25:19 +0000
(16:25 +0100)
youtube_dl/extractor/mtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mtv.py
b/youtube_dl/extractor/mtv.py
index 474bdff7dcd50712b20c0cf1a70e20f960e0b1be..5f0f476b690579dbbc0aeb03171982944270409f 100644
(file)
--- 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)