|
发表于 2025-5-23 08:36:26
|
查看全部
Cursor三个月交作业了
- "https://cursor.com/referral?code=IH2SEKC8T9EF",
- "https://cursor.com/referral?code=YVXJHWQQJVL",
- "https://cursor.com/referral?code=U16JFFDFQEE",
- "https://cursor.com/referral?code=ZDR4RYTNH2",
- "https://cursor.com/referral?code=7RC7E9VIKLYM",
- "https://cursor.com/referral?code=XO879IBZGB0N",
- "https://cursor.com/referral?code=CZKHAZIOR7XA",
- "https://cursor.com/referral?code=NDC0AZBN5PHN",
- "https://cursor.com/referral?code=FC2YRQ8BPE39",
- "https://cursor.com/referral?code=STKPISUQ0CAJ",
- "https://cursor.com/referral?code=84BTDEKIOMMO",
- "https://cursor.com/referral?code=4YPG87DTLNEE",
- "https://cursor.com/referral?code=9Y2FFRLQGCY",
- "https://cursor.com/referral?code=XCE96MA0W5RT",
- "https://cursor.com/referral?code=BUZM5CCQEM51",
- "https://cursor.com/referral?code=UHORAP00RK1",
- "https://cursor.com/referral?code=4PICDKV3P7N",
- "https://cursor.com/referral?code=LDFLBBRRTFVS",
- "https://cursor.com/referral?code=TAT2SP4LDSFS",
- "https://cursor.com/referral?code=XDABPKHVSCAO",
- "https://cursor.com/referral?code=UO7Q3BQIHVOQ",
- "https://cursor.com/referral?code=TUUKVCQBGTFA",
- "https://cursor.com/referral?code=NSWNOOQRJYA",
- "https://cursor.com/referral?code=RE4GT6PD7TPE",
- "https://cursor.com/referral?code=QTII8VFYELDT",
- "https://cursor.com/referral?code=MF8J0MHABOAE",
- "https://cursor.com/referral?code=FMCE9RBEHHG4",
- "https://cursor.com/referral?code=MCOWA6LKSERX",
- "https://cursor.com/referral?code=GKZZJ4K7TV",
- "https://cursor.com/referral?code=GUBFXXDTD2XL",
- "https://cursor.com/referral?code=NIUHTUEYH32",
- "https://cursor.com/referral?code=7VWTYTQBOZ5O",
- "https://cursor.com/referral?code=BMWVGYUBY6AU",
- "https://cursor.com/referral?code=HMLMWYPI0SO",
- "https://cursor.com/referral?code=XMTZOHQ0BVC",
- "https://cursor.com/referral?code=IRXYQ5S5M6",
- "https://cursor.com/referral?code=EWSJ6BLX7XCH",
- "https://cursor.com/referral?code=6YYJW2ZSZ95",
- "https://cursor.com/referral?code=2EDX0OTKADBV",
- "https://cursor.com/referral?code=GMDOI9X6YYYI",
- "https://cursor.com/referral?code=FMSTTGBHEIU",
- "https://cursor.com/referral?code=ZIHZN7CUMAOJ",
- "https://cursor.com/referral?code=V3KRC74T194",
- "https://cursor.com/referral?code=RYFQILUPEOZY",
- "https://cursor.com/referral?code=15TBHIRJGPW",
- "https://cursor.com/referral?code=IDRJSIZMZV2M",
- "https://cursor.com/referral?code=EUETVNHNUWO0",
- "https://cursor.com/referral?code=JP0VHKYA5XX0",
- "https://cursor.com/referral?code=TFRWYQPP9V0Q",
- "https://cursor.com/referral?code=QEEZ2RVJBVF",
- "https://cursor.com/referral?code=IOKGOVL5ZDW0",
- "https://cursor.com/referral?code=OHNCKZ6SEDZW",
- "https://cursor.com/referral?code=WQGDFJNBBUW",
- "https://cursor.com/referral?code=M5JNZDKMAIAD",
- "https://cursor.com/referral?code=JCBCBP7Q6ZH9",
- "https://cursor.com/referral?code=KMVQXEVLLP",
- "https://cursor.com/referral?code=81BNJQI06XOY",
- "https://cursor.com/referral?code=06FI28DRUPLQ",
- "https://cursor.com/referral?code=MZA3JDOIEGEW",
- "https://cursor.com/referral?code=QJHQNKWYYRE",
- "https://cursor.com/referral?code=HF0OOFBCAT4",
- "https://cursor.com/referral?code=F9RBQXLN9NJE",
- "https://cursor.com/referral?code=6EKXJRQZRS9M",
- "https://cursor.com/referral?code=4TNX2UX8RWJH",
- "https://cursor.com/referral?code=TKBK3A1UMLFR",
- "https://cursor.com/referral?code=MZ9TMEQORY3",
- "https://cursor.com/referral?code=NPFHP5JRZV3Z",
- "https://cursor.com/referral?code=T5FYUB0E96AP",
- "https://cursor.com/referral?code=MCYK0AULURXN",
- "https://cursor.com/referral?code=LHWGDZMZSHG",
- "https://cursor.com/referral?code=XOESMA4L9TM",
- "https://cursor.com/referral?code=WGGBROWYSSZG",
- "https://cursor.com/referral?code=AGNMH8FMJYNC",
- "https://cursor.com/referral?code=MTJYN3OB1YM",
- "https://cursor.com/referral?code=AJAN0ATFPSOM",
- "https://cursor.com/referral?code=L0SWVLCHNXR",
- "https://cursor.com/referral?code=HRDESV9UI6J4",
- "https://cursor.com/referral?code=05F0SY6B1N",
- "https://cursor.com/referral?code=JDDUBP1CQISS",
- "https://cursor.com/referral?code=I8CQOKYS7LFQ",
- "https://cursor.com/referral?code=I8OT7KSWJLCY",
- "https://cursor.com/referral?code=EUNBEYJ6JUN8",
- "https://cursor.com/referral?code=FXYJDE9YSC5",
- "https://cursor.com/referral?code=BCR5YW0Q1J3",
- "https://cursor.com/referral?code=GXM2YLVREYZP",
- "https://cursor.com/referral?code=BVRXOJ5PPEU",
- "https://cursor.com/referral?code=TNL5MPVBKV",
- "https://cursor.com/referral?code=0YTX2TFNRJT",
- "https://cursor.com/referral?code=OMPJSCBQOPOB",
- "https://cursor.com/referral?code=ESNUT2I48KQZ",
- "https://cursor.com/referral?code=EWRF2K6UBQEB",
- "https://cursor.com/referral?code=3LTO5A2KBYTS",
- "https://cursor.com/referral?code=8YPQAM7TQGJJ",
- "https://cursor.com/referral?code=EJD04ONVRRIA",
- "https://cursor.com/referral?code=IOGO5EBV3KWV",
- "https://cursor.com/referral?code=PEG5XA8ZBRS",
- "https://cursor.com/referral?code=W9V46P2VSG40",
- "https://cursor.com/referral?code=A0F4TLXR2KU",
- "https://cursor.com/referral?code=EIIQYW7VPIBZ",
- "https://cursor.com/referral?code=HXMXWZHURHHP",
- "https://cursor.com/referral?code=KJLI92VTWVR",
- "https://cursor.com/referral?code=PYWOCHKZGHB",
- "https://cursor.com/referral?code=WID8QLSCWOWH",
- "https://cursor.com/referral?code=YOQMLYQYQD2",
- "https://cursor.com/referral?code=ZVFKKC9LB6RJ",
- "https://cursor.com/referral?code=RHFMWWBUDNGJ",
- "https://cursor.com/referral?code=YBBHH12INVG",
- "https://cursor.com/referral?code=2QID3FDHJKUN",
- "https://cursor.com/referral?code=OEJZJ9BXVPSQ",
- "https://cursor.com/referral?code=OFBVMKE5VHB",
- "https://cursor.com/referral?code=PGPS5N3L03N7",
- "https://cursor.com/referral?code=QRGS41R9MHRS",
- "https://cursor.com/referral?code=TS5DFFUSB9SD",
- "https://cursor.com/referral?code=O1Y7ODXOH7VZ",
- "https://cursor.com/referral?code=UZYA93IEZX0A",
- "https://cursor.com/referral?code=QISIVWN4GICI",
- "https://cursor.com/referral?code=LDYVYLCZTHQ1",
- "https://cursor.com/referral?code=9ETCTVJS7WQ4",
- "https://cursor.com/referral?code=Q1S68E58Q40C",
- "https://cursor.com/referral?code=3FY44DHI2LQS",
- "https://cursor.com/referral?code=EQ663YEALCFV",
- "https://cursor.com/referral?code=GNYYL9U0CSXW",
- "https://cursor.com/referral?code=VFR5T5XIE80",
- "https://cursor.com/referral?code=KJPDZKQXUCQS",
- "https://cursor.com/referral?code=96PPPTMA5K5M",
- "https://cursor.com/referral?code=VMRI1RQ9AZN",
- "https://cursor.com/referral?code=U9R5WZ2AKNQO",
- "https://cursor.com/referral?code=LEVBQWKFYTQA",
- "https://cursor.com/referral?code=IY1AGKDPZGCT",
- "https://cursor.com/referral?code=RKR1ISZSZLXT",
- "https://cursor.com/referral?code=3BTJ0F9NMHW3",
- "https://cursor.com/referral?code=4BPFHFHHCDGY",
- "https://cursor.com/referral?code=RDBVLMMOHEML",
- "https://cursor.com/referral?code=PVUXGM3COYVC",
- "https://cursor.com/referral?code=XVWFMMYDO3S",
- "https://cursor.com/referral?code=RDPSTDTCANW6",
- "https://cursor.com/referral?code=4XSSFN3OFRYM",
- "https://cursor.com/referral?code=XETUDWSXT5E"
复制代码
环境要求
美国IP地址
支持普通账号邮箱和Pro账号, 还是建议普通账号, 无压力
浏览器(建议使用Chrome)
使用步骤
打开浏览器,访问 https://www.perplexity.ai/account/pro-perks
按F12打开开发者工具
注册并登录账号
进入主页面后点击返回,进入AI聊天界面
进行简单对话测试
随便聊几句就ok
再次访问 https://www.perplexity.ai/account/pro-perks
在开发者工具中找到 pro-perks 请求
复制其 Curl 中的 headers
代码使用说明
将以下代码复制到浏览器控制台运行:
- // 创建存储结构
- const linkCollector = {
- links: new Set(),
- startTime: null,
- intervalId: null,
- // 生成随机的5位小写字母和数字组合
- generateRandomCode(length = 5) {
- const characters = 'abcdefghijklmnopqrstuvwxyz0123456789';
- let result = '';
- for (let i = 0; i < length; i++) {
- result += characters.charAt(Math.floor(Math.random() * characters.length));
- }
- return result;
- },
- // 从响应文本中提取referral链接
- extractReferralLink(text) {
- const regex = /https:\/\/cursor\.com\/referral\?code=[A-Z0-9]+/g;
- const matches = text.match(regex);
- return matches ? matches[0] : null;
- },
- // 开始收集
- start() {
- // 如果已经在运行,先停止
- if (this.intervalId !== null) {
- this.stop();
- }
- this.links.clear();
- this.startTime = new Date();
- console.log('开始收集链接...');
- console.log('每0.5秒尝试一次...');
- console.log('输入 stopCollecting() 可以停止执行');
- // 使用setInterval定期执行
- this.intervalId = setInterval(async () => {
- const randomCode = this.generateRandomCode();
- try {
- const url = `https://www.perplexity.ai/account/pro-perks?_rsc=${randomCode}`;
- const response = await fetch(url, {
- "headers": {
- // 这里粘贴从pro-perks请求中复制的headers
- },
- "method": "GET",
- "credentials": "include"
- });
- const responseText = await response.text();
- const referralLink = this.extractReferralLink(responseText);
- if (referralLink) {
- console.log(`${referralLink}`);
- this.links.add(referralLink);
- }
- } catch (error) {
- // 失败时不输出任何内容
- }
- }, 500);
- },
- // 停止收集
- stop() {
- if (this.intervalId !== null) {
- clearInterval(this.intervalId);
- this.intervalId = null;
- console.log('停止收集链接');
- } else {
- console.log('没有正在运行的获取任务');
- }
- },
- // 获取统计信息
- stats() {
- const duration = ((new Date() - this.startTime) / 1000).toFixed(1);
- console.log('=== 链接收集统计 ===');
- console.log(`运行时间: ${duration} 秒`);
- console.log(`收集到 ${this.links.size} 个唯一链接`);
- console.log('链接列表:');
- Array.from(this.links).forEach((link, index) => {
- console.log(`${index + 1}. ${link}`);
- });
- },
- // 导出链接
- export() {
- return Array.from(this.links);
- }
- };
- // 将方法暴露到全局
- window.startCollecting = () => linkCollector.start();
- window.stopCollecting = () => linkCollector.stop();
- window.getStats = () => linkCollector.stats();
- window.exportLinks = () => linkCollector.export();
- // 自动开始收集
- startCollecting();
复制代码
效果如下:
操作说明
将代码中的 headers 部分替换为从 pro-perks 请求中复制的 headers
在控制台运行代码
等待输出链接,直到出现重复链接
执行 stopCollecting() 停止收集
执行 exportLinks() 导出所有链接
注意事项
每个账号大约可以生成一百个左右的code
非Pro账号也可以使用
建议使用美国IP地址
请合理使用,避免频繁请求
建议在收集到足够数量的链接后及时停止
常见问题
如果遇到报错,可以忽略继续运行
如果链接重复出现,说明已经收集完成
可以通过 getStats() 查看收集统计信息
使用 exportLinks() 可以导出所有收集到的链接 |
|