js + selenium 获取chatgpt的accessToken

chatgpt的accessToken非常有用,在做web api对接时,因为登录超时 会刷新accessToken

复制代码
let elements = document.querySelectorAll('.token-string');

let concatenatedText = [8,9,10].map(index => {
    return elements[index] ? elements[index].textContent : '';
}).join('');

console.log(concatenatedText)
相关推荐
sinat_286945191 小时前
构建自己的agent
人工智能·chatgpt
sinat_286945192 小时前
大模型推理:部署方式与性能优化思路
人工智能·算法·缓存·chatgpt·性能优化
Felven12 小时前
stress-ng 与 fio 性能测试工具使用指南
linux·测试工具·fio·stress-ng
H_unique18 小时前
Chat2Excel:接口自动化测试
python·测试工具·自动化
Rosanci1 天前
Codex 下载与本地部署实战:从安装到运行全流程指南
开发语言·前端·算法·chatgpt·codex
sinat_286945191 天前
LLM Serving 中的四种缓存
人工智能·缓存·chatgpt
Sarapines Programmer2 天前
【Wireshark】安装与使用指南
网络·测试工具·wireshark
Hello_wshuo2 天前
FreeCAD配置MCP使用chatgpt
chatgpt
盘古开天16662 天前
windows鱼塘可交互鱼群动态桌面资源
人工智能·chatgpt·开源
枫叶丹42 天前
从一次推理请求出发:模型、显存、网络与服务系统如何共同决定性能
网络·人工智能·chatgpt·开源·agent·codex