mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-24 23:14:49 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f5a33843e6 | ||
|
7428144aa8 | ||
|
cc325dc128 |
@@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
composer create-project ledccn/iyuuautoreseed:dev-master
|
@@ -1,5 +0,0 @@
|
||||
@echo off
|
||||
chcp 65001
|
||||
git clone https://gitee.com/ledc/IYUUAutoReseed.git
|
||||
cd IYUUAutoReseed
|
||||
php ./iyuu.php
|
@@ -13,7 +13,7 @@ use IYUU\Library\Table;
|
||||
class AutoReseed
|
||||
{
|
||||
// 版本号
|
||||
const VER = '1.8.2';
|
||||
const VER = '1.8.3';
|
||||
// RPC连接
|
||||
private static $links = [];
|
||||
// 客户端配置
|
||||
@@ -416,16 +416,6 @@ class AutoReseed
|
||||
$reseedPass = false;
|
||||
// 特殊站点:种子元数据推送给下载器
|
||||
switch ($siteName) {
|
||||
case 'ssd':
|
||||
// 辅种计数器
|
||||
if ( isset($configALL[$siteName]['count']) ) {
|
||||
if ( $configALL[$siteName]['count'] > 10) {
|
||||
$configALL[$siteName]['limit'] = 1;
|
||||
}
|
||||
} else {
|
||||
$configALL[$siteName]['count'] = 0;
|
||||
}
|
||||
break;
|
||||
case 'hdchina':
|
||||
$cookie = isset($configALL[$siteName]['cookie']) ? $configALL[$siteName]['cookie'] : '';
|
||||
$userAgent = $configALL['default']['userAgent'];
|
||||
@@ -539,12 +529,6 @@ class AutoReseed
|
||||
case 'hdcity':
|
||||
$url = $_url;
|
||||
break;
|
||||
case 'ssd':
|
||||
// 辅种计数器
|
||||
if ($ret) {
|
||||
$configALL[$siteName]['count']++;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user