Update ChatgptFree.py

This commit is contained in:
H Lohaus 2024-04-06 23:45:15 +02:00 committed by GitHub
parent a0e826fcff
commit 68089ff0a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -42,11 +42,11 @@ class ChatgptFree(AsyncProvider):
async with StreamSession( async with StreamSession(
headers=headers, headers=headers,
cookies=cookies, cookies=cookies,
impersonate="chrome107", impersonate="chrome",
proxies={"https": proxy}, proxies={"all": proxy},
timeout=timeout timeout=timeout
) as session: ) as session:
if not cls._nonce: if not cls._nonce:
async with session.get(f"{cls.url}/") as response: async with session.get(f"{cls.url}/") as response: