浏览代码

[YoutubeDL] Support new _type multi_video

Philipp Hagemeister 10 年之前
父节点
当前提交
dfd5313afd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -624,7 +624,7 @@ class YoutubeDL(object):
 
 
             return self.process_ie_result(
             return self.process_ie_result(
                 new_result, download=download, extra_info=extra_info)
                 new_result, download=download, extra_info=extra_info)
-        elif result_type == 'playlist':
+        elif result_type == 'playlist' or playlist == 'multi_video':
             # We process each entry in the playlist
             # We process each entry in the playlist
             playlist = ie_result.get('title', None) or ie_result.get('id', None)
             playlist = ie_result.get('title', None) or ie_result.get('id', None)
             self.to_screen('[download] Downloading playlist: %s' % playlist)
             self.to_screen('[download] Downloading playlist: %s' % playlist)