mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-01 06:21:09 +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]
|
title = json_folder_info[1][2]
|
||||||
items = json_items[-1]
|
items = json_items[-1]
|
||||||
|
if not isinstance(items, list):
|
||||||
|
return self.playlist_result([], folder_id, title)
|
||||||
|
|
||||||
return make_playlist(items, folder_id)
|
return make_playlist(items, folder_id)
|
||||||
|
|
Loading…
Reference in a new issue