From feff490fd681bde6e227ad95247f29116d87c985 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 02:29:30 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=8D=E8=B4=A3?= =?UTF-8?q?=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 321a357..35a1346 100644 --- a/readme.md +++ b/readme.md @@ -2,13 +2,13 @@ 在使用本工具前,请认真阅读《免责声明》全文如下: -使用IYUUAutoReseed自动辅种工具本身是非常安全的,IYUU自动辅种脚本,辅种时不会跟PT站点服务器产生任何关系,只是会把下载种子链接推送给下载器,由下载器去站点下载种子。理论上,任何站点、任何技术都无法检测你是否使用了IYUUAutoReseed。危险来自于包括但不限于以下几点: +使用IYUUAutoReseed自动辅种工具本身是非常安全的,IYUU脚本辅种时不会跟PT站点的服务器产生任何交互,只是会把下载种子链接推送给下载器,由下载器去站点下载种子。理论上,任何站点、任何技术都无法检测你是否使用了IYUUAutoReseed。危险来自于包括但不限于以下几点: -第一:建议不要自己手动跳校验,任何因为跳校验ban号,别怪我没提醒,也请出事不要怪到IYUU的头上; +第一:建议不要自己手动跳校验,任何因为跳校验ban号,别怪我没提醒,出事后请不要怪到IYUU的头上; -第二:官方首发种子的种子,IYUU也无法辅种的,如果因为你个人的作弊而被ban号,跟IYUU无关; +第二:官方首发资源、其他一切首发资源的种子,IYUUAutoReseed自动辅种工具也无法在出种前辅种,如果因为你个人的作弊而被ban号,跟IYUU无关; -第三:使用本脚本造成的一切损失,与IYUU无关。如不接受此条款,请立刻删除已经下载的源码,不要使用IYUUAutoReseed。 +第三:您使用IYUU工具造成的一切损失,与IYUU无关。如不接受此条款,请不要使用IYUUAutoReseed,并立刻删除已经下载的源码。 ## 功能 From 7b15f4f4df3e33aa2b15a4d130ffaaafbae69db0 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 02:39:46 +0800 Subject: [PATCH 02/10] =?UTF-8?q?404=E6=95=B0=E6=8D=AE=E6=B8=85=E7=90=86?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki/数据同步.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/wiki/数据同步.md b/wiki/数据同步.md index ee4d902..b802656 100644 --- a/wiki/数据同步.md +++ b/wiki/数据同步.md @@ -1,5 +1,13 @@ -## 辅种数据最后同步时间 -|站点 | 同步时间 | 状态 | -| - | :-: | ---- | -| ourbits | 2020年1月15日13:56:22 | 同步中... | -| hdsky | 2020年1月15日20:49:33 | 同步中... | +## 404数据最后清理时间 +|标志 | 最后清理时间 | 状态 | +| :-: | :-: | ---- | +|ssd | 2020年1月16日00:23:05 | 已完成 | +|北洋 | 2020年1月16日00:23:05 | 已完成 | +|猫站 | 2020年1月16日00:23:05 | 同步中... | +|朋友 | 2020年1月16日00:23:05 | 已完成 | +|铂金家 | 2020年1月16日00:23:05 | 已完成 | +|家园 | 2020年1月16日00:23:05 | 已完成 | +|学校 | 2020年1月16日00:19:24 | 已完成 | +| 我堡 | 2020年1月15日13:56:22 | 同步中... | +| 天空 | 2020年1月15日20:49:33 | 已完成 | + From d862eea66292d642bdaa39b1915aa11055f991d4 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 14:15:48 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E6=96=B0=E5=A2=9E404=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=B8=85=E7=90=86=E5=85=AC=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki/{数据同步.md => 数据清理.md} | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) rename wiki/{数据同步.md => 数据清理.md} (53%) diff --git a/wiki/数据同步.md b/wiki/数据清理.md similarity index 53% rename from wiki/数据同步.md rename to wiki/数据清理.md index b802656..e72e5ee 100644 --- a/wiki/数据同步.md +++ b/wiki/数据清理.md @@ -1,13 +1,21 @@ ## 404数据最后清理时间 |标志 | 最后清理时间 | 状态 | | :-: | :-: | ---- | -|ssd | 2020年1月16日00:23:05 | 已完成 | +| ttg | | | +|城市 | | | +|萌猫 | 2020年1月16日12:07:12 | 已完成 | +|ptmsg | 2020年1月16日12:07:17 | 已完成 | +|瓷器 | | | +|杜比 | 2020年1月16日11:34:19 | 已完成 | +|tccf | | | +|馒头 | | | +|春天 | 2020年1月16日00:23:05 | 已完成 | |北洋 | 2020年1月16日00:23:05 | 已完成 | -|猫站 | 2020年1月16日00:23:05 | 同步中... | +|猫站 | | | |朋友 | 2020年1月16日00:23:05 | 已完成 | |铂金家 | 2020年1月16日00:23:05 | 已完成 | |家园 | 2020年1月16日00:23:05 | 已完成 | |学校 | 2020年1月16日00:19:24 | 已完成 | -| 我堡 | 2020年1月15日13:56:22 | 同步中... | +| 我堡 | 2020年1月15日13:56:22 | 已完成 | | 天空 | 2020年1月15日20:49:33 | 已完成 | From c9a8039afae5e04636e34aa179e77d087b8902f4 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 14:16:10 +0800 Subject: [PATCH 04/10] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=93=B7=E5=99=A8?= =?UTF-8?q?=E4=BA=BA=E6=9C=BA=E6=A3=80=E6=B5=8B=EF=BC=8C=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E4=BA=BA=E6=9C=BA=E6=99=BA=E8=83=BD=E8=B7=B3=E8=BF=87=E5=90=8E?= =?UTF-8?q?=E7=BB=AD=E8=BE=85=E7=A7=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iyuu.cn.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iyuu.cn.php b/iyuu.cn.php index d1815d1..caa2749 100644 --- a/iyuu.cn.php +++ b/iyuu.cn.php @@ -436,6 +436,9 @@ class iyuuAutoReseed self::$wechatMsg['reseedSkip']++; break; } + if ( isset($configALL[$sites[$sitesID]['site']]['limit']) ) { + echo "当前站点触发人机验证,已加入排除列表 \n"; + } $cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : ''; $userAgent = $configALL['default']['userAgent']; // 拼接URL @@ -452,6 +455,12 @@ class iyuuAutoReseed $_url = 'https://' .$sites[$sitesID]['base_url']. '/' . $_url; print "种子下载页:".$_url. "\n"; $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; case 'hdcity': if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) { From 61a552c6ae435d13732f258ea267c2f9a7d06ab2 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 22:17:37 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/config.sample.php | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/app/config/config.sample.php b/app/config/config.sample.php index d7202c2..7495675 100644 --- a/app/config/config.sample.php +++ b/app/config/config.sample.php @@ -6,7 +6,7 @@ * 手动配置方法,请查看:https://www.iyuu.cn/archives/324/ */ return array( - // 1.爱语飞飞 微信通知配置 + // 1.【必须配置】爱语飞飞 微信通知,请访问https://iyuu.cn 用微信扫码申请 'iyuu.cn' => 'IYUU', // 2.server酱 微信通知配置 'sc.ftqq.com' => '', @@ -16,30 +16,33 @@ return array( 'default' => array( // 5.【必须配置】浏览器UA,打开http://demo.iyuu.cn 复制过来即可 'userAgent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36', - // 6.【自动辅种必须配置】全局客户端设置(条目不够可以复制,用不到的请删除) + // 6.【自动辅种必须配置】全局客户端设置(条目不够可以复制) 'clients' => array( // 全局客户端设置 开始 + # 开始 array( 'type' => 'transmission', // 支持:transmission、qBittorrent 'host' => 'http://127.0.0.1:9091/transmission/rpc', 'username' => '', 'password' => '', - //'move' =>array( - // 'type' => 2, // 0保持不变,1减,2加, 3直接替换 - // 'path' =>array( - // '/sda1' => '/volume1', - // ), - //), ), - // (条目不够可以复制,用不到的请删除) + # 结束 + # 开始 array( 'type' => 'qBittorrent', // 支持:transmission、qBittorrent 'host' => 'http://www.baidu.com:8083', 'username' => '', 'password' => '', ), + # 结束 // 全局客户端设置 结束 ), + 'move' =>array( + 'type' => 2, // 0保持不变,1减,2加, 3直接替换 + 'path' =>array( + '/sda1' => '/volume1', + ), + ), 'CONNECTTIMEOUT'=> 60, 'TIMEOUT' => 600, ), @@ -174,9 +177,9 @@ return array( ), // hdcity 序号:18 'hdcity' => array( - // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) + // 必须配置 'cookie' => '', - // 如果需要自动辅种,必须配置 cuhash + // 如果需要自动辅种,必须配置cuhash 'passkey' => '', ), // 52pt.site 序号:19 @@ -237,7 +240,7 @@ return array( ), // hdchina 序号:27 'hdchina' => array( - // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) + // 必须配置 'cookie' => '', // 如果需要自动辅种,必须配置 'passkey' => '', From dafcb50d7a8963937e01f43fb4b5a9dce96f4bbb Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 22:17:56 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B8=B8=E8=A7=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki/常见问题.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wiki/常见问题.md b/wiki/常见问题.md index 1e00071..62229ad 100644 --- a/wiki/常见问题.md +++ b/wiki/常见问题.md @@ -8,6 +8,10 @@ 答:只需配置全局客户端和各网站的passkey密钥(没有配置passkey的站点,在辅种时候会跳过)。2019年12月28日补充:辅种hdcity、hdchina需要配置cookie。 +#### 问:如何获取cookie呢? + +答:浏览器F12,依次`Network` ==》`Doc` ==》`F5刷新` ==》左侧点页面后,查看右侧`Headers标签`,下拉`cookie:`后面的一大段字符串。 + #### 问:IYUU自动辅种工具,向服务器发送了什么实现自动辅种呢? 答:1.文件`phpspider\app\torrent\cache\hashString.txt`是脚本发送给服务器的数据,是按下载器分组的种子info_hash;2.文件`phpspider\app\torrent\cache\reseed.txt`是服务器返回的可辅种数据。 @@ -20,6 +24,10 @@ 答:因为站点在下载种子时有流控或者人机验证,会导致辅种失败;但脚本会在`phpspider\app\torrent\cache`目录下生成以站点命名的手动辅种文本。 +#### 问:为什么幼儿园U2辅种失败? + +答:按站内说明,修改下载器所在设备的HOST,或者在具备修改HOST功能的路由器内修改。 + #### 问:我拥有辅种时自动跳过站点的特殊权限,如何设置为可以辅种呢? 答:在站点的独立配置区域,添加一行代码`'is_vip' => 1,`即可。例如Ourbits: From f610ef0fcadf193ef38a46eb980c90eaad0fcd64 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 22:22:49 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/config.sample.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/config.sample.php b/app/config/config.sample.php index 7495675..b37e697 100644 --- a/app/config/config.sample.php +++ b/app/config/config.sample.php @@ -22,7 +22,7 @@ return array( # 开始 array( 'type' => 'transmission', // 支持:transmission、qBittorrent - 'host' => 'http://127.0.0.1:9091/transmission/rpc', + 'host' => 'http://127.0.0.1:9091/transmission/rpc', // 警告!注意:transmission/rpc这段别动,你只需要修改 127.0.0.1:9091 'username' => '', 'password' => '', ), From 2fbe0ab29c0cbd47d1e3e06d0df660d384762900 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 22:29:25 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BC=8A=E7=94=B8?= =?UTF-8?q?=E5=9B=AD=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/config.sample.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/config/config.sample.php b/app/config/config.sample.php index b37e697..2cf2f76 100644 --- a/app/config/config.sample.php +++ b/app/config/config.sample.php @@ -350,6 +350,13 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), + // bdbd 序号:43 + 'bdbd' => array( + // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) + 'cookie' => '', + // 如果需要自动辅种,必须配置 + 'passkey' => '', + ), // 配置文件结束 ); \ No newline at end of file From 5123d31ca6af5a2dd880b4cef8cd33d9cae0b4f5 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 23:25:09 +0800 Subject: [PATCH 09/10] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=93=B7=E5=99=A8?= =?UTF-8?q?=E3=80=81=E5=9F=8E=E5=B8=82=E8=BE=85=E7=A7=8D=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E3=80=82=E9=87=8D=E5=A4=8D=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iyuu.cn.php | 119 +++++++++++++++++++++++++++------------------------- 1 file changed, 62 insertions(+), 57 deletions(-) diff --git a/iyuu.cn.php b/iyuu.cn.php index caa2749..afa54d0 100644 --- a/iyuu.cn.php +++ b/iyuu.cn.php @@ -430,63 +430,6 @@ class iyuuAutoReseed } $url = $_url."&passkey=". $configALL[$sites[$sitesID]['site']]['passkey'] . $ip_type. "&https=1"; break; - case 'hdchina': - if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) { - echo '-------因当前' .$sites[$sitesID]['site']. '站点未设置cookie,已跳过!!' . "\n\n"; - self::$wechatMsg['reseedSkip']++; - break; - } - if ( isset($configALL[$sites[$sitesID]['site']]['limit']) ) { - echo "当前站点触发人机验证,已加入排除列表 \n"; - } - $cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : ''; - $userAgent = $configALL['default']['userAgent']; - // 拼接URL - $details_page = str_replace('{}', $value['torrent_id'], 'details.php?id={}&hit=1'); - $details_url = 'https://' .$sites[$sitesID]['base_url']. '/' .$details_page; - $details_html = download($details_url, $cookie, $userAgent); - print "种子详情页:".$details_url. "\n"; - // 提取种子下载地址 - $download_page = str_replace('{}', '', $sites[$sitesID]['download_page']); - $offset = strpos($details_html, $download_page); - $urlTemp = substr($details_html, $offset, 50); - // 种子地址 - $_url = substr($urlTemp,0,strpos($urlTemp,'">')); - $_url = 'https://' .$sites[$sitesID]['base_url']. '/' . $_url; - print "种子下载页:".$_url. "\n"; - $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; - case 'hdcity': - if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) { - echo '-------因当前' .$sites[$sitesID]['site']. '站点未设置cookie,已跳过!!' . "\n\n"; - self::$wechatMsg['reseedSkip']++; - break; - } - $cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : ''; - $userAgent = $configALL['default']['userAgent']; - print "种子:".$_url. "\n"; - if ( isset($configALL[$sites[$sitesID]['site']]['cuhash']) ) { - // 已获取cuhash - # code... - }else { - // 获取cuhash - $html = download('https://' .$sites[$sitesID]['base_url']. '/pt', $cookie, $userAgent); - // 提取种子下载地址 - $offset = strpos($html,'cuhash='); - $len = strlen('cuhash='); - $cuhashTemp = substr($html,$offset+$len,40); - $configALL[$sites[$sitesID]['site']]['cuhash'] = substr($cuhashTemp,0,strpos($cuhashTemp,'"')); - } - $url = $_url."&cuhash=". $configALL[$sites[$sitesID]['site']]['cuhash']; - // 城市下载种子时会302转向 - $url = download($url, $cookie, $userAgent); - break; default: $url = $_url."&passkey=". $configALL[$sites[$sitesID]['site']]['passkey']; break; @@ -512,6 +455,68 @@ class iyuuAutoReseed self::$wechatMsg['reseedPass']++; continue; } + // 种子元数据获取 + switch ($sites[$sitesID]['site']) { + case 'hdchina': + if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) { + echo '-------因当前' .$sites[$sitesID]['site']. '站点未设置cookie,已跳过!!' . "\n\n"; + self::$wechatMsg['reseedSkip']++; + break; + } + if ( isset($configALL[$sites[$sitesID]['site']]['limit']) ) { + echo "当前站点触发人机验证,已加入排除列表 \n"; + } + $cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : ''; + $userAgent = $configALL['default']['userAgent']; + // 拼接URL + $details_page = str_replace('{}', $value['torrent_id'], 'details.php?id={}&hit=1'); + $details_url = 'https://' .$sites[$sitesID]['base_url']. '/' .$details_page; + $details_html = download($details_url, $cookie, $userAgent); + print "种子详情页:".$details_url. "\n"; + // 提取种子下载地址 + $download_page = str_replace('{}', '', $sites[$sitesID]['download_page']); + $offset = strpos($details_html, $download_page); + $urlTemp = substr($details_html, $offset, 50); + // 种子地址 + $_url = substr($urlTemp,0,strpos($urlTemp,'">')); + $_url = 'https://' .$sites[$sitesID]['base_url']. '/' . $_url; + print "种子下载页:".$_url. "\n"; + $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; + case 'hdcity': + if ( empty($configALL[$sites[$sitesID]['site']]['cookie']) ) { + echo '-------因当前' .$sites[$sitesID]['site']. '站点未设置cookie,已跳过!!' . "\n\n"; + self::$wechatMsg['reseedSkip']++; + break; + } + $cookie = isset($configALL[$sites[$sitesID]['site']]['cookie']) ? $configALL[$sites[$sitesID]['site']]['cookie'] : ''; + $userAgent = $configALL['default']['userAgent']; + print "种子:".$_url. "\n"; + if ( isset($configALL[$sites[$sitesID]['site']]['cuhash']) ) { + // 已获取cuhash + # code... + }else { + // 获取cuhash + $html = download('https://' .$sites[$sitesID]['base_url']. '/pt', $cookie, $userAgent); + // 提取种子下载地址 + $offset = strpos($html,'cuhash='); + $len = strlen('cuhash='); + $cuhashTemp = substr($html,$offset+$len,40); + $configALL[$sites[$sitesID]['site']]['cuhash'] = substr($cuhashTemp,0,strpos($cuhashTemp,'"')); + } + $url = $_url."&cuhash=". $configALL[$sites[$sitesID]['site']]['cuhash']; + // 城市下载种子时会302转向 + $url = download($url, $cookie, $userAgent); + break; + default: + break; + } // 把拼接的种子URL,推送给下载器 $ret = false; // 成功返回:true From 3430a4cf7bae9e2d632411f8f5d4a4803f5bb78d Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Thu, 16 Jan 2020 23:25:50 +0800 Subject: [PATCH 10/10] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=8A=E7=94=B8?= =?UTF-8?q?=E5=9B=AD=E9=85=8D=E7=BD=AE=E9=A1=B9=E7=9A=84key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/config.sample.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/config/config.sample.php b/app/config/config.sample.php index 2cf2f76..334012d 100644 --- a/app/config/config.sample.php +++ b/app/config/config.sample.php @@ -280,7 +280,7 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), - // opencd 序号:33 + // opencd 序号:33 皇后 'opencd' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', @@ -301,7 +301,7 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), - // dmhy 序号:36 + // dmhy 序号:36 幼儿园 'dmhy' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', @@ -322,7 +322,7 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), - // discfan 序号:39 + // discfan 序号:39 港知堂 'discfan' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', @@ -336,22 +336,22 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), - // cnscg 序号:41 + // cnscg 序号:41 圣城 'cnscg' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', // 如果需要自动辅种,必须配置 'passkey' => '', ), - // nicept 序号:42 + // nicept 序号:42 老师 'nicept' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', // 如果需要自动辅种,必须配置 'passkey' => '', ), - // bdbd 序号:43 - 'bdbd' => array( + // hdbd 序号:43 伊甸园 + 'hdbd' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) 'cookie' => '', // 如果需要自动辅种,必须配置