1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-23 16:22:30 +00:00

[YoutubeDL] Support new _type multi_video

This commit is contained in:
Philipp Hagemeister 2014-11-21 00:25:46 +01:00
parent be53e2a737
commit dfd5313afd

View file

@ -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)