update docstring

This commit is contained in:
grqx_termux 2024-10-02 17:52:29 +13:00
parent 3068d9897d
commit 1ef35f1c00

View File

@ -336,11 +336,9 @@ def _extract_json_meta(self, webpage, video_id, dsval=None, hashval=None, name=N
"""
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: {}});