Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rekcah-pavi authored Jul 22, 2024
1 parent fd9c7df commit 8d76afc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ from geminikit import get_cookies_from_file
from geminikit import Asynic_Gemini as Gemini

import asyncio
import aiofiles #pip install aiofiles

async def main():
with open("chrome-net-export-log.json", 'r') as f:
async with aiofiles.open("chrome-net-export-log.json", mode='r') as f:
cookies = get_cookies_from_file(f.read())

gemini = await Gemini.create(cookies)
Expand Down

0 comments on commit 8d76afc

Please sign in to comment.