站点有进行未完成种子检查,未完成种子太多的情况下有封禁的风险.
利用ai制作了一个脚本获取未完成的种子链接,可以直接放到tr或是qb进行下载
下面代码以猫站为例
const html = document.documentElement.outerHTML;
const regex = /<td class="rowfollow" width="100%" align="left">\s*<a href="details(?:game)?.php\?id=(\d+)"/g;
const urls= [];
let match;
while ((match = regex.exec(html)) !== null) {
urls.push("https://站点域名/download.php?id=" + match[1] + "&passkey=你的passkey")
}
console.log(urls);
if (urls.length === 0) {
console.error('未提取到任何种子 ID,请检查页面结构或正则表达式');
} else {
const textToCopy = urls.join('\n');
const textarea = document.createElement('textarea');
textarea.value = textToCopy;
textarea.style.position = 'fixed';
textarea.style.top = '-9999px';
textarea.style.left = '-9999px';
document.body.appendChild(textarea);
textarea.focus();
textarea.select();
try {
const success = document.execCommand('copy');
if (success) {
console.log("✅ 已复制 ${urls.length} 个下载链接到剪贴板");
console.log('示例链接:', urls[0]);
} else {
console.error('❌ 复制失败');
}
} catch (err) {
console.error('复制异常:', err);
}
document.body.removeChild(textarea);
}使用方法
1.打开猫站,进入个人详情也,展开未完成种子,然后查看全部记录
2.选择要获取未完成种子的页码
3.F12进入控制台,选择Console选项,把代码中的站点域名和你的passkey替换好并粘贴到控制台,按回车确认.
4.把粘贴板中的url放到tr或是qb的下进行下载即可。