mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Refactor OpenaiChat authentication flow; replace get_nodriver with async context manager and improve error handling
Update backend_anon_url in har_file.py for correct endpoint Add async context manager for get_nodriver_session in requests module Fix start-browser.sh to remove stale cookie file before launching Chrome
This commit is contained in:
parent
7d184411e2
commit
4399b432c4
4 changed files with 27 additions and 12 deletions
|
|
@ -19,7 +19,7 @@ from ... import debug
|
|||
arkose_url = "https://tcr9i.chat.openai.com/fc/gt2/public_key/35536E1E-65B4-4D96-9D97-6ADB7EFF8147"
|
||||
backend_url = "https://chatgpt.com/backend-api/f/conversation"
|
||||
prepare_url = "https://chatgpt.com/backend-api/f/conversation/prepare"
|
||||
backend_anon_url = "https://chatgpt.com/backend-anon/conversation"
|
||||
backend_anon_url = "https://chatgpt.com/backend-anon/f/conversation"
|
||||
start_url = "https://chatgpt.com/"
|
||||
conversation_url = "https://chatgpt.com/c/"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue