Flask反向代理ChatGPT网站,完美复刻chat.openai.com/chat
你应该先登录ChatGPT Website,找到名为cf_clearance、__Secure-next-auth.session-token、_puid的Cookies,复制它们的值。
其中_puid为Plus会员专属值,没它不行。
pip install requests flask-
在
chatgpt.py代码相应位置粘贴cf_clearance、session_token、_puid的值。 -
运行程序
python3 chatgpt_proxy_website.py- 浏览器打开
http://127.0.0.1:8011/chat
- 只能用于Plus会员账号使用,免费账号没有_puid参数会有CF验证。
- 目前登陆上的账号不需要翻墙也能正常使用。