HanaokaYuzu / Gemini-API

✨ An elegant async Python wrapper for Google Gemini web app
https://pypi.org/project/gemini-webapi/
GNU Affero General Public License v3.0
134 stars 19 forks source link

Auto Retrive cookies. #14

Closed jollyolliel closed 2 months ago

jollyolliel commented 3 months ago

In the docs it shows that we can use browser-cookies3 to automaticaly retrive cookies. Could you add in the docs a small discription on how to use it?

HanaokaYuzu commented 2 months ago

Try the following snippet with necessary asyncio boilerplate:

sh:

pip install -U gemini_webapi
pip install -U browser-cookies3

Python:

client = GeminiClient()
await client.init()