Closed zerofishy closed 7 months ago
The .txt
file created by get_cookies.txt
is in the Netscape cookie format.
Alternatively, you are allowed to pass a dictionary of cookies. (see README)
To parse your JSON into a dictionary, you can use the following snippet:
from json import load
with open("my_file.json") as f:
cookies_dict = json.load(f)
can you add netscape\json format for video upload?from .txt