Add support for empty folder

This commit is contained in:
grqx_wsl 2024-07-22 17:28:45 +12:00
parent 64d4e93516
commit cbe698b4b0

View file

@ -367,5 +367,7 @@ class GoogleDriveFolderIE(InfoExtractor):
)
title = json_folder_info[1][2]
items = json_items[-1]
if not isinstance(items, list):
return self.playlist_result([], folder_id, title)
return make_playlist(items, folder_id)