Compare commits

..

4 Commits

Author SHA1 Message Date
iyuu.cn
44f5b82650 新增HDfans站点 2020-07-03 13:01:03 +08:00
iyuu.cn
f5a33843e6 v1.8.3 2020-06-18 08:45:40 +08:00
iyuu.cn
7428144aa8 移除SSD站点辅种计数器。 2020-06-18 08:44:57 +08:00
iyuu.cn
cc325dc128 删除无用.cmd批处理 2020-06-10 23:09:20 +08:00
5 changed files with 8 additions and 25 deletions

View File

@@ -1,2 +0,0 @@
@echo off
composer create-project ledccn/iyuuautoreseed:dev-master

View File

@@ -1,5 +0,0 @@
@echo off
chcp 65001
git clone https://gitee.com/ledc/IYUUAutoReseed.git
cd IYUUAutoReseed
php ./iyuu.php

View File

@@ -13,7 +13,7 @@ use IYUU\Library\Table;
class AutoReseed
{
// 版本号
const VER = '1.8.2';
const VER = '1.8.4';
// 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;
}

View File

@@ -495,6 +495,12 @@ return array(
// 如果需要自动辅种,必须配置
'passkey' => '',
),
// hdfans
'hdfans' => array(
// 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)
'cookie' => '',
// 如果需要自动辅种,必须配置
'passkey' => '',
),
// 配置结束,后面的一行不能删除,必须保留!!!
);