Open starhui70520 opened 1 year ago
I have tried placing the json file in the same directory as the program, which can run
@acheong08 - This relates to Query/Cookiie so I'm happy if you want to assign the Issue to me.
This does not contain chinese for the most part. Also, as far as I understand, it is not an issue report, but more like a feature request: Being able to customize the search path for the cookie file to a subdirectory, instead of the current directory.
Sorry copy/paste error.
@PFython Thanks!
The most recent update ('today') allows you to set the cookie directory with Cookie.dir_path = r"..."
or not use cookies at all.
I think this can be closed now?
Is there an existing issue for this?
What happened?
Unable to customize cookie record file path using Query
Steps to reproduce the problem
Save the bing_cookies_0.json file in a subdirectory of the directory where the program is located for example:cookie_file="./newbing_tokens/bing_cookies_0.json"
What should have happened?
Should return str type text normally
Version where the problem happens
0.7.0
What Python version are you running this with?
Python 3.10.6
What is your operating system ?
Other/Cloud
Command Line Arguments
Console logs
Additional information
No response