mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
Add support for empty folder
This commit is contained in:
parent
64d4e93516
commit
cbe698b4b0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue