ading2210 / poe-api

[UNMAINTAINED] A reverse engineered Python API wrapper for Quora's Poe, which provides free access to ChatGPT, GPT-4, and Claude.
https://pypi.org/project/poe-api
GNU General Public License v3.0
2.5k stars 315 forks source link

Failed to download https://poe.com #173

Closed canxin121 closed 1 year ago

canxin121 commented 1 year ago

when creating a poe.Client("l_recO0Qgugq~~~"),this error occurs

https://poe.com. Retrying (1/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (2/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (3/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (4/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (5/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (6/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (7/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (8/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (9/10)... WARNING:root:Server returned a status code of 403 while downloading https://poe.com. Retrying (10/10)... Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2023.1.3\plugins\python\helpers\pydev\pydevd.py", line 1496, in _exec pydev_imports.execfile(file, globals, locals) # execute the script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\JetBrains\PyCharm 2023.1.3\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:\Users\canxin\Documents\GitHub\poe-api\TEST.py", line 3, in client = poe.Client("l_recO0QgugqEyfgMbEt-g%3D%3D") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\canxin\Documents\GitHub\poe-api\poe-api\src\poe.py", line 123, in init self.connect_ws() File "C:\Users\canxin\Documents\GitHub\poe-api\poe-api\src\poe.py", line 380, in connect_ws self.setup_connection() File "C:\Users\canxin\Documents\GitHub\poe-api\poe-api\src\poe.py", line 149, in setup_connection self.next_data = self.get_next_data(overwrite_vars=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\canxin\Documents\GitHub\poe-api\poe-api\src\poe.py", line 191, in get_next_data r = request_with_retries(self.session.get, self.home_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\canxin\Documents\GitHub\poe-api\poe-api\src\poe.py", line 53, in request_with_retries raise RuntimeError(f"Failed to download {url} too many times.") RuntimeError: Failed to download https://poe.com too many times.

PoetGcc commented 1 year ago

I also encountered the same problem

Qewertyy commented 1 year ago

yes me too, but it works fine in windows

canxin121 commented 1 year ago

wait,more changes in variable names should be done.This will be fixed

CiaranYoung commented 1 year ago

Because poe updates the mechanism today

huyremy commented 1 year ago

Yes, oh my ghost, I can't see Sage anymore. Yesterday, some guys @ Poe suggest me about member's fee, anybody hear about that ? image

canxin121 commented 1 year ago

not yet. And it is just that the name was changed to Assistant,it is the same

dalaolala commented 1 year ago

me too!

ading2210 commented 1 year ago

Duplicate of #158.

claell commented 1 year ago

@ading2210 How is this a duplicate of #153? They seem to be completely unrelated.

ading2210 commented 1 year ago

@claell Sorry, that was a mistake. I meant issue #158.