Please reply
How to set gemini cookies
Can u give me the code I'll have cookies but idk where I'll add that
@Tanjirotg Hi. use this docs: https://github.com/xtekky/gpt4free?tab=readme-ov-file#cookies set_cookies params:
- site (
.google.com) - variable for needed cookies (
__Secure-1PSID) - Value (like key)
Or other way get info. Go to needed site and press F12 -> Network. Find ___Secure-1PSID and copy for variable above.
http://YOURSERVERIPADRESS:7900/?autoconnect=1&resize=scale&password=secret http://0.0.0.0:7900/?autoconnect=1&resize=scale&password=secret close all browser open windows and chat again.... so it will open a browser and you can login into browser
or use the ___Secure-1PSID from browser
in my case the .har and cookie files in the default ./har_and_cookies directory dont work for google.....just for openai
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
Hey, you need to load cookies in Python. Check out the documentation for more info. Turn on debug mode to see more details.