mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-23 18:15:22 +00:00
新增瓷器人机检测,触发人机智能跳过后续辅种。
This commit is contained in:
parent
d862eea662
commit
c9a8039afa
@ -436,6 +436,9 @@ class iyuuAutoReseed
|
|||||||
self::$wechatMsg['reseedSkip']++;
|
self::$wechatMsg['reseedSkip']++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if ( isset($configALL[$sites[$sitesID]['site']]['limit']) ) {
|
||||||
|
echo "当前站点触发人机验证,已加入排除列表 \n";
|
||||||
|
}
|
||||||
$cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : '';
|
$cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : '';
|
||||||
$userAgent = $configALL['default']['userAgent'];
|
$userAgent = $configALL['default']['userAgent'];
|
||||||
// 拼接URL
|
// 拼接URL
|
||||||
@ -452,6 +455,12 @@ class iyuuAutoReseed
|
|||||||
$_url = 'https://' .$sites[$sitesID]['base_url']. '/' . $_url;
|
$_url = 'https://' .$sites[$sitesID]['base_url']. '/' . $_url;
|
||||||
print "种子下载页:".$_url. "\n";
|
print "种子下载页:".$_url. "\n";
|
||||||
$url = download($_url, $cookie, $userAgent);
|
$url = download($_url, $cookie, $userAgent);
|
||||||
|
if(strpos($url,'系统检测到过多的种子下载请求') != false){
|
||||||
|
echo "触发人机验证 \n";
|
||||||
|
ff($sites[$sitesID]['site']. ' 触发人机验证,请重新设置!');
|
||||||
|
self::$noReseed[] = 'hdchina';
|
||||||
|
$configALL[$sites[$sitesID]['site']]['limit'] = 1;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'hdcity':
|
case 'hdcity':
|
||||||
if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) {
|
if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user