困 (@bukun)看见很多佬友说gpt注册不了,放一下我的(ai总结),就是不能获取rt刷新额度 中发帖

请帮我写一个 Python 脚本,自动注册 OpenAI/ChatGPT 账号并获取 access_token。 
使用 curl_cffi 库(impersonate=“chrome”)发送请求,支持代理。 
整体流程分两个阶段: 
【第一阶段:注册账号】 

调用临时邮箱 API(TempMail.lol)生成一个临时邮箱
生成 OAuth URL:

client_id: app_EMoamEEZ73f0CkXaXp7hrann
auth_url: https://auth.openai.com/oauth/authorize
redirect_uri: http://localhost:1455/auth/callback
scope: openid email profile offline_access
带 PKCE(code_challenge + code_verifier...
 
 
Back to Top