diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-06 21:24:04 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-06 21:24:04 +0200 |
commit | 76571f25911657180ee17eed7b302a363e7562fc (patch) | |
tree | f3c1a8eae0839f0b55e741622004a469baff76c7 /poe/__init__.py | |
parent | important note (diff) | |
download | gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar.gz gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar.bz2 gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar.lz gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar.xz gpt4free-76571f25911657180ee17eed7b302a363e7562fc.tar.zst gpt4free-76571f25911657180ee17eed7b302a363e7562fc.zip |
Diffstat (limited to '')
-rw-r--r-- | poe/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/poe/__init__.py b/poe/__init__.py index 3f75ba14..d1cb8ae5 100644 --- a/poe/__init__.py +++ b/poe/__init__.py @@ -1,6 +1,6 @@ from poe.api import Client as PoeClient from poe.mail import Mail -from tls_client import Session +from requests import Session from re import search, findall from json import loads from time import sleep, time @@ -48,11 +48,10 @@ class PoeResponse: def json(self) -> dict: return self.response_dict - class Account: def create(proxy: None or str = None, logging: bool = False): - client = Session(client_identifier = "chrome110") + client = Session() client.proxies = { 'http': f'http://{proxy}', 'https': f'http://{proxy}'} if proxy else None |