Browse Source

[vh1] Modernize

Philipp Hagemeister 10 years ago
parent
commit
8569f3d629
1 changed files with 4 additions and 1 deletions
  1. 4 1
      youtube_dl/extractor/vh1.py

+ 4 - 1
youtube_dl/extractor/vh1.py

@@ -121,4 +121,7 @@ class VH1IE(MTVIE):
         idoc = self._download_xml(
         idoc = self._download_xml(
             doc_url, video_id,
             doc_url, video_id,
             'Downloading info', transform_source=fix_xml_ampersands)
             '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,
+        )