mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-16 13:08:55 +00:00
Add support for empty folder
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user