1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[vh1] Modernize

This commit is contained in:
Philipp Hagemeister 2014-11-20 16:51:33 +01:00
parent fed5d03260
commit 8569f3d629

View File

@ -121,4 +121,7 @@ def _real_extract(self, url):
idoc = self._download_xml(
doc_url, 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')],
playlist_id=video_id,
)