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)
相关推荐
哪吒编程20 分钟前
谁是最强编程大模型?横向对比Claude Opus 4.1、GPT-5、Gemini 2.5 Pro、Grok4
chatgpt·openai·claude
网络研究院4 小时前
OpenAI 的浏览器将使用 ChatGPT Agent 来控制浏览器
chatgpt
秃了也弱了。13 小时前
WireShark:非常好用的网络抓包工具
网络·测试工具·wireshark
敲上瘾15 小时前
Linux系统cgroups资源精细化控制基础
linux·测试工具·docker·压力测试·cgroups
致Great17 小时前
DeepResearch开源与闭源方案对比
人工智能·chatgpt
gc_229920 小时前
使用HtmlAgilityPack+PuppeteerSharp+iText7抓取Selenium帮助文档
selenium·itext7·htmlagilitypack·puppeteersharp
张飞的猪大数据20 小时前
OpenAI 发布了 GPT-5,有哪些新特性值得关注?国内怎么使用GPT5?
gpt·chatgpt
天才测试猿20 小时前
常见的Jmeter压测问题
自动化测试·软件测试·python·测试工具·jmeter·职场和发展·压力测试
belingud1 天前
不同模型回答差异的简单探讨
chatgpt·claude·deepseek
yaocheng的ai分身1 天前
ChatGPT 负责人谈情感依赖、广告和未来
chatgpt