Mr-Destructive / anonymous-chatgpt

Use ChatGPT without authenticating (with limitations)
7 stars 2 forks source link

403 on https://chatgpt.com/backend-anon/conversation #5

Open aritralegndery opened 3 months ago

aritralegndery commented 3 months ago
hatgpt --prompt "hello world"
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "E:\Infostealer\.venv\Scripts\chatgpt.exe\__main__.py", line 7, in <module>
  File "e:\Infostealer\.venv\lib\site-packages\anonymous_chatgpt\app.py", line 222, in main
    response = chat_prompt(prompt)
  File "e:\Infostealer\.venv\lib\site-packages\anonymous_chatgpt\app.py", line 91, in chat_prompt
    response.raise_for_status()
  File "e:\Infostealer\.venv\lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://chatgpt.com/backend-anon/conversation
MaxwellJK commented 1 month ago

+1 having the same issue...any solution? 🙏

eleldev commented 1 month ago

+1

eleldev commented 1 month ago

some info about trouble:

<Response [403]>
{'error': '{"detail":"Unusual activity has been detected from your device. Try again later. (8d1cee995f3fd279-FRA)"}'}
eleldev commented 1 month ago

requests structure changed ig.. need to rewrite all

MaxwellJK commented 1 month ago

requests structure changed ig.. need to rewrite all

yeah i also guessed that - the headers are quite different i tried to work on it but so far no success

eleldev commented 1 month ago

requests structure changed ig.. need to rewrite all

yeah i also guessed that - the headers are quite different i tried to work on it but so far no success

maybe we can merge our things and come to smth