from curl_cffi import requests
headers = {
'accept': '*/*',
'accept-language': 'zh-CN,zh;q=0.9',
'authorization': 'Bearer xxx',
'cache-control': 'no-cache',
'content-type': 'application/json',
'oai-language': 'zh-CN',
'origin': 'https://chatgpt.com',
'pragma': 'no-cache',
'priority': 'u=1, i',
'referer': 'https://chatgpt.com/',
'sec-ch-ua': '"Chromium";v="140", "Not=A?Brand";v="24", "Google Chrome";v="140"',
'sec-ch-ua-arch': '"x86"',
'sec-ch-ua-bitness': '"64"',
'sec-ch-ua-full-version': '"140.0.7339.210"',
'sec-ch-ua-full-version-list': '"Chromium";v="140.0.7339.210", "Not=A?Brand";v="24.0.0.0", "Google Chrome";v="140.0.7339.210"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-model': '""',
'sec-ch-ua-platform': '"Windows"',
'sec-ch-ua-platform-version': '"15.0.0"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36'
}
json_data = {
'plan_name': 'chatgptteamplan',
'team_plan_data': {
'workspace_name': 'Fovt',
'price_interval': 'month',
'seat_quantity': 5,
},
'billing_details': {
'country': 'JP',
'currency': 'USD',
},
'cancel_url': 'https://chatgpt.com/?numSeats=5&selectedPlan=month&referrer=https%3A%2F%2Fauth.openai.com%2F#team-pricing-seat-selection',
'promo_campaign': 'team-1-month-free',
'checkout_ui_mode': 'redirect',
}
for i in range(100):
id = requests.post('https://chatgpt.com/backend-api/payments/checkout', headers=headers, json=json_data, impersonate="chrome101").json()["checkout_session_id"]
url = f"https://chatgpt.com/checkout/openai_llc/{id}"
print(url)
开车步骤
第一步:一个有资格的ChatGPT TEAM试用账号
第二步:提取账号的AT,并替换脚本headers-authorization中的xxx为你的AT
- 直接访问下面链接即可获取AT:https://chatgpt.com/api/auth/session
第三步:运行脚本,脚本会输出付款链接(想卡几个0元TEAM就让脚本输出几个付款链接)
第四步:你会获得N个付款链接,依次付款,付款N个,账号就会出现N个TEAM
说明:
- 一定要是0刀的才可以1刀不行
- 开tun模式,否则可能会报错
- 不确保一直可用,随时可能失效
方法来自 LINUX DO 的 @sexgirls 佬,亲测可用。有兴趣的自行测试
mjj神通广大
牛逼
太牛了
之前在linux do同样帖子也是校长发布的吧
666
666老东西终于把绝学交出来了
学习了
@Newbee #4 sexgirls佬的,我就是转出来跟大家一起玩玩儿