From 1ef35f1c0001c59e4694e9cdd19873bab16c3489 Mon Sep 17 00:00:00 2001 From: grqx_termux Date: Wed, 2 Oct 2024 17:52:29 +1300 Subject: [PATCH] update docstring --- yt_dlp/extractor/googledrive.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/yt_dlp/extractor/googledrive.py b/yt_dlp/extractor/googledrive.py index 33ac5cb8a..0594cbae1 100644 --- a/yt_dlp/extractor/googledrive.py +++ b/yt_dlp/extractor/googledrive.py @@ -336,11 +336,9 @@ class GoogleDriveFolderIE(InfoExtractor): """ Uses regex to search for json metadata with 'ds' value(0-5) or 'hash' value(1-6) from the webpage. - Folder info: ds=0(public folder), hash=1/5; - Folder items: ds=4(logged out)/5(logged in), hash=6. - logged out info:ds0hash1; items:ds4hash6 - logged in info:ds0hash1; items:ds5hash6 - my-drive info:ds0hash1/ds0hash4; items:ds5hash6 + logged out folder info:ds0hash1; items:ds4hash6 + logged in folder info:ds0hash1; items:ds5hash6 + my-drive folder info:ds0hash1/ds0hash4; items:ds5hash6 For example, if the webpage contains the line below, the empty data array can be got by passing dsval=3 or hashval=2 to this method. AF_initDataCallback({key: 'ds:3', hash: '2', data:[], sideChannel: {}});