Closed odgtr closed 8 months ago
The errors from similar users have been reported, so starting from version 0.1.39, we have changed "assrt" to "print" in order to allow receiving cookie values that do not end with a single dot.
We are still unsure if any rules regarding cookie values for users from any specific country or region have been altered.
If bardapi does not function properly with the mentioned cookie value, please try confirming with three or more different cookie values using multi-cookie or similar methods and kindly report the issues. Thank you.
[NOTICE] Please, go to Gemini-API https://github.com/dsdanielpark/Gemini-API
A unofficial Python wrapper, python-gemini-api, operates through reverse-engineering, utilizing cookie values to interact with Google Gemini for users struggling with frequent authentication problems or unable to authenticate via Google Authentication.
Collaborated competently with Antonio Cheong.
[Paper] [Official Website] [Official API] [API Documents]
Gemini is a family of generative AI models developed by Google DeepMind that is designed for multimodal use cases. The Gemini API gives you access to the Gemini Pro and Gemini Pro Vision models. In February 2024, Google's Bard service was changed to Gemini.
pip install python-gemini-api
pip install git+https://github.com/dsdanielpark/Gemini-API.git
For the updated version, use as follows:
pip install -q -U python-gemini-api
Hi, i'm encountering this issue where I'm pressing F12, going into cookies and bard, than my __SECURE-1PSID is just weird characters. it doesn't even include a dot at the end.
Here's what it looks like (middle part is censored) - g.a000fghkDGuKkDhA7ZG2aOHPl8eS6JPgxwXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX19UgRoVAUF8yKoTfj46F5jgzNp9WaAFST4P0076
I've tried logging off and logging on again, tried switching accounts/browsers/network but none worked. my token is in this weird character format. What can I do to get my old token format back?