mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 06:27:21 +00:00
update docstring
This commit is contained in:
parent
3068d9897d
commit
1ef35f1c00
|
@ -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)
|
Uses regex to search for json metadata with 'ds' value(0-5) or 'hash' value(1-6)
|
||||||
from the webpage.
|
from the webpage.
|
||||||
Folder info: ds=0(public folder), hash=1/5;
|
logged out folder info:ds0hash1; items:ds4hash6
|
||||||
Folder items: ds=4(logged out)/5(logged in), hash=6.
|
logged in folder info:ds0hash1; items:ds5hash6
|
||||||
logged out info:ds0hash1; items:ds4hash6
|
my-drive folder info:ds0hash1/ds0hash4; items:ds5hash6
|
||||||
logged in info:ds0hash1; items:ds5hash6
|
|
||||||
my-drive info:ds0hash1/ds0hash4; items:ds5hash6
|
|
||||||
For example, if the webpage contains the line below, the empty data array
|
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.
|
can be got by passing dsval=3 or hashval=2 to this method.
|
||||||
AF_initDataCallback({key: 'ds:3', hash: '2', data:[], sideChannel: {}});
|
AF_initDataCallback({key: 'ds:3', hash: '2', data:[], sideChannel: {}});
|
||||||
|
|
Loading…
Reference in a new issue