ledccn / iyuuautoreseed Goto Github PK
View Code? Open in Web Editor NEWIYUU自动辅种工具,目前能对国内大部分的PT站点自动辅种,支持下载器集群,支持多盘位,支持多下载目录,支持远程连接等。
Home Page: https://iyuu.cn
License: Other
IYUU自动辅种工具,目前能对国内大部分的PT站点自动辅种,支持下载器集群,支持多盘位,支持多下载目录,支持远程连接等。
Home Page: https://iyuu.cn
License: Other
感谢
官方的实例config.php里没有dicmusic,应该如果配置呢?
首先感谢开发者无私付出,推出IYUU这一pt神器,挽救众多站点,同时也给个人用户带来更好的体验
但从各个站点爬取的种子有部分会被站点或者发布者删除...
随着时间推移,这种无效种子累积越来越多,在辅种过程中出现大量辅种失败的报告,有的甚至卡停很久,这降低了附种效率,也不利于查看结果...
所以个人建议:
是否能抽空清理下这种类型的种子,不知技术上能否简单实现...
请您酌情考虑,谢谢
[iyuuu 如何定时每天下载1个小于100G的free 种子
这种定时任务规则好像不能添加吧,
后台没有这个功能
cmd里发现并未考虑当前cmd所在路径包含空格的情况。
尝试用IYUU Gui辅种,但是这个站点完全无法添加,全部添加种子失败,Gui让尝试手动添加种子,
但是点击Gui给出的种子链接,则会报这个错误:
SQL Error
Table 'nexusphp.torrents_' doesn't exist
in /home/wwwroot/leaguehd.com/download.php, line 80
是不是因为该站点魔改了?
WIN10添加了自动辅种的计划任务,但是一直提示“操作员或系统管理员拒绝了请求(0x800710E0)”。单独运行“9.执行辅种.cmd”,没有问题,可以辅种。
hdu的tracker好像有两个,目前iyuu默认的好像是只支持ipv4的那个,pt助手默认添加的也是支持双栈的那个,建议修改。
部分站点会出这个警告,然后添加种子任务失败。同一个站点,有时候成功,有时候失败。感觉是随机的?
今天在群里遇到一个需要换绑微信的群友
以前没有合作站点鉴权的时候只需要重新生成一个令牌然后改config就行了
但是现在改了之后会导致合作站点鉴权失败,所以也就是断绝了更改绑定通知微信的可能
不知道能否开发一个解绑的功能?
1、目前的版本里面,如果我在config.php里面定义了多个下载器,只要其中有任意一个下载器webui无法连接,则所有定义的下载器都不会去连接,会在初始化的时候直接报错,其它所有的下载器都不会尝试发起辅种。
比如我有多个下载器,其中某一台只在特定的时间打开,这样就会影响到其它下载器的辅种。
能否使用循环遍历所有定义的下载器,对于无法连接的下载器自动跳过呢,只有在所有定义的下载器都无法连接时才报错?
+----------------+---------------+-------------+-----------------+--------------+
transmission 客户端正在实例化!
transmission:http://127.0.0.1:****/transmission/rpc Rpc连接 [success]
qBittorrent 客户端正在实例化!
qBittorrent:https://127.0.0.1:**** Rpc连接 [v4.2.5]
qBittorrent 客户端正在实例化!
qBittorrent:https://127.0.0.1:**** Rpc连接 [v4.3.2]
qBittorrent 客户端正在实例化!
[连接错误] https://127.0.0.1:**** qBittorrent Unable to authenticate with Web Api.
2、目前的版本在config.php定义了多个辅种下载器时,在运行时打印的日志里面只会显示client 0, client 1这样,是否能在config.php里面定义一个下载器别名,然后在打印日志里面打印出别名或webui地址?
配置文件:
// 4.【自动辅种必须配置】全局客户端设置(条目不够可以复制)
'clients' => array(
// 全局客户端设置 开始
# 开始
array(
'type' => 'transmission', // 支持:transmission、qBittorrent
'host' => 'http://127.0.0.1:9091/transmission/rpc', // 警告!注意:transmission/rpc这段别动,你只需要修改 127.0.0.1:9091
'username' => '', // 没有用户名请填写null
'password' => '', // 没有密码 请填写null
'BT_backup' => '/torrents', // 移动做种:如果脚本与当前客户端不在一台机器,必须配置
'move' => 2, // 0不移动,1移动并辅种,2移动且只在当前客户端辅种
),
# 结束
# 开始
array(
'type' => 'qBittorrent', // 支持:transmission、qBittorrent
'host' => 'http://127.0.0.1:9092',
'username' => '',
'password' => '',
'root_folder'=> 1, // 创建多文件子目录:0不创建,1创建(下载器默认1)【此处必须与下载器真实配置相同,否则添加任务不会校验!】
'BT_backup' => '/BT_backup', // 移动做种:必须配置,Linux搜索方法:find / -name BT_backup
'move' => 0, // 0不移动,1移动并辅种,2移动且只在当前客户端辅种
),
# 结束
// 全局客户端设置 结束
),
// 5.移动做种必须配置
'move' =>array(
'type' => 0, // 0保持不变,1减,2加,3替换
'path' =>array(
// 当前路径 => 目标路径
'/downloads' => '/volume1',
),
'path_filter'=> array(), //转移过滤器:不转移此路径内文件
'path_selector' => array(), //转移选择器:只转移此路径内文件(为空时,全转移) 【优先级:过滤器 > 选择器】
'paused' => 1, //转移成功,自动开始任务:0开始,1暂停
'skip_check' => 0, //转移成功,跳校验:0不跳、1跳校验
'delete_torrent' => 1, //转移成功,删除当前做种:0不删除、1删除
),
(未手动开始任务)再次执行iyuu.php
:
(手动重新开始任务)再次执行iyuu.php
:
我想问下,转移配置里是不是得设置自动开始才会开始多站辅种?
'paused' => 0, //转移成功,自动开始任务:0开始,1暂停
另外,本例多站辅种未成功可能是和 #32 提到的hdarea辅种问题的原因是一样的。
leaguehd.com -> lemonhd.org
大家觉得怎么样。
初步想法是增加 比如 【辅种】的分类来区分下载任务和辅种任务。
给tag增加站点名字关键字方便看?
之前还好好的,现在就这样了。TR的种子大概有一万个。
mcj@mcjdeiMac:~/日常使用/GitCode/PT/IYUUAutoReseed$ php iyuu.php
1619887762.2784 环境变量初始化完成!
1619887762.2791 全局配置载入完成!
1619887762.2795 支持站点JSON载入完成!
1619887762.2795 正在加载composer包管理器...
1619887762.2815 composer依赖载入完成!
1619887762.2815 当前脚本运行环境:Darwin
当前脚本路径:/Users/mcj/日常使用/GitCode/PT/IYUUAutoReseed/iyuu.php
正在初始化运行参数,版本号:1.10.22
当前时间:2021-05-02 00:49:22
chdbits合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/
gitee源码仓库:https://gitee.com/ledc/IYUUAutoReseed
github源码仓库:https://github.com/ledccn/IYUUAutoReseed
教程:https://gitee.com/ledc/IYUUAutoReseed/tree/master/wiki
问答社区:http://wenda.iyuu.cn
【IYUU自动辅种交流】QQ群:859882209、931954050、924099912
正在连接IYUUAutoReseed服务器,查询支持列表……
IYUUAutoReseed自动辅种脚本,目前支持以下站点:
+----------------+---------------+-----------------+---------------+---------------+
| 1. keepfrds | 2. pthome | 3. m-team | 4. hdsky | 5. tjupt |
| 6. pter | 7. hdhome | 8. btschool | 9. ourbits | 10. hddolby |
| 11. torrentccf | 12. ptmsg | 13. ttg | 14. nanyangpt | 15. yingk |
| 16. hdcity | 17. nicept | 18. 52pt | 19. beitai | 20. eastgame |
| 21. ssd | 22. soulvoice | 23. chdbits | 24. leaguehd | 25. ptsbao |
| 26. hdchina | 27. hdarea | 28. hdtime | 29. 1ptba | 30. hd4fans |
| 31. opencd | 32. joyhd | 33. dmhy | 34. upxin | 35. oshen |
| 36. discfan | 37. hdzone | 38. hdbd | 39. byr | 40. ccfbits |
| 41. hdbits | 42. ptpbd | 43. hd-torrents | 44. dicmusic | 45. skyeysnow |
| 46. pt | 47. hdroute | 48. haidan | 49. hdfans | 50. dragonhd |
| 51. hitpt | 52. pttime | 53. hdai | 54. npupt | 55. hdatmos |
+----------------+---------------+-----------------+---------------+---------------+
Warning: rmdir(/Users/mcj/日常使用/GitCode/PT/IYUUAutoReseed/torrent/cache/): Directory not empty in /Users/mcj/日常使用/GitCode/PT/IYUUAutoReseed/app/Library/IFile.php on line 170
transmission 客户端正在实例化!
transmission:http://127.0.0.1:9091/transmission/rpc Rpc连接 [success]
正在从下载器 clients_0 获取种子哈希……
正在向服务器提交 clients_0 种子哈希……
clients_0 没有查询到可辅种数据
* Closing connection 0
* Closing connection 0
辅种不了,提交到服务器不行。我tr里面有2000种的
ssh记录:
transmission 客户端正在实例化!
transmission:http://192.168.1.196:9091/transmission/rpc Rpc连接 [success]
正在从下载器 clients_0 获取种子哈希……
正在向服务器提交 clients_0 种子哈希……
clients_0 没有查询到可辅种数据
IYUU版本:v2.0.0
微信消息推送显示自动辅种成功,但在qb里边并没有添加辅种任务,再次手动运行IYUU自动辅种任务,微信推送消息提示已忽略
transmission 客户端正在实例化!
transmission:http://127.0.0.1:9091/transmission/rpc Rpc连接 [success]
clients_1 用户名或密码未配置,已跳过!
正在从下载器 clients_0 获取种子哈希……
PHP Fatal error: Uncaught Error: Call to undefined function IYUU\Client\transmission\mb_detect_encoding() in /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php:811
Stack trace:
#0 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(798): IYUU\Client\transmission\transmission->cleanRequestData()
#1 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(845): IYUU\Client\transmission\transmission->cleanRequestData()
#2 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(400): IYUU\Client\transmission\transmission->request()
#3 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(953): IYUU\Client\transmission\transmission->get()
#4 /home/pi/IYUUAutoReseed/app/AutoReseed.php(303): IYUU\Client\transmission\transmission->all()
#5 /home/pi/IYUUAutoReseed/app/AutoReseed.php(278): IYUU\AutoReseed::reseed()
#6 /home/pi/IYUUAutoReseed/iyuu.php(31): IYUU\Aut in /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php on line 811
Fatal error: Uncaught Error: Call to undefined function IYUU\Client\transmission\mb_detect_encoding() in /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php:811
Stack trace:
#0 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(798): IYUU\Client\transmission\transmission->cleanRequestData()
#1 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(845): IYUU\Client\transmission\transmission->cleanRequestData()
#2 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(400): IYUU\Client\transmission\transmission->request()
#3 /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php(953): IYUU\Client\transmission\transmission->get()
#4 /home/pi/IYUUAutoReseed/app/AutoReseed.php(303): IYUU\Client\transmission\transmission->all()
#5 /home/pi/IYUUAutoReseed/app/AutoReseed.php(278): IYUU\AutoReseed::reseed()
#6 /home/pi/IYUUAutoReseed/iyuu.php(31): IYUU\Aut in /home/pi/IYUUAutoReseed/vendor/ledccn/bittorrentclient/src/transmission/transmission.php on line 811
root@DSMMSI:/volume3/homes/admin/IYUUAutoReseed# php ./iyuu.php
1580814946.6314 环境变量初始化完成!
1580814946.6315 全局配置载入完成!
PHP Warning: require_once(/volume3/homes/admin/IYUUAutoReseed/vendor/autoload.php): failed to open stream: No such file or directory in /volume3/homes/admin/IYUUAutoReseed/init.php on line 47
Warning: require_once(/volume3/homes/admin/IYUUAutoReseed/vendor/autoload.php): failed to open stream: No such file or directory in /volume3/homes/admin/IYUUAutoReseed/init.php on line 47
PHP Fatal error: require_once(): Failed opening required '/volume3/homes/admin/IYUUAutoReseed/vendor/autoload.php' (include_path='.') in /volume3/homes/admin/IYUUAutoReseed/init.php on line 47
Fatal error: require_once(): Failed opening required '/volume3/homes/admin/IYUUAutoReseed/vendor/autoload.php' (include_path='.') in /volume3/homes/admin/IYUUAutoReseed/init.php on line 47
自动辅种添加种子,校验完成后,如果是100%的种子,能否自动开始上传?有什么办法可以实现吗?
我现在检验后的种子都是暂停状态,要手动进TR/qB里选种子按开始~~
保种的话,rtorrent(rutorrent)对设备要求最低,对资源占用也比较低,希望能支持。
不确定这是不是bug,leaguehd站实际使用中出现了几个任务重复添加了;添加完后两个任务都能连接tracker。
另外改进建议:
1、增加linux下执行命令说明到wiki;
2、脚本执行完增加成功输出,目前是靠微信统计报表消息发过来才确认执行完毕;
3、cache文件夹内会保存passkey,安全考虑建议删除;
请问 docker 版本,辅种怎么 skip_checking
qb 跳过效验,还是会快速效验,可以节省很多时间。
请问大佬 docker 版本的辅种怎么开启 skip_checking
$extra_options['paused'] = isset($extra_options['paused']) ? $extra_options['paused'] : true;
这里true
写错了, 应该改成'true'
AutoReseed.php
这个文件里有几个地方都要改一下
我改了之后qbittorrent添加种子后就是暂停的 transmission我没有试过
如题
官组挺活跃的
新注册hdarea用iyuu自动辅覆盖率很低,手动辅种都能辅上,其他站也能辅上,应该是hdarea的数据很久没更新或不全,大概是手动辅后新增一倍。
还有一些其他站,请问后续有计划吗?
通过http://api.iyuu.cn/index.php?s=App.Api.Hash测试,使用https://iyuu.cn/申请的token,提示以下错误:
{
"ret": 401,
"data": {},
"msg": "非法请求:用户未绑定合作站点账号!请查阅绑定!https://www.iyuu.cn/archives/337/",
"version": "1.9.1"
}
能否支持web界面管理?
docker版 Tranmission v3.0 工作正常。
请问这是最新版qb的问题,还是我的qb设置或者iyuu配置文件配置错了?
如题,Qbit 4.4版本,作为转移方,及从Qbit转移到Trans会丢失Tracker。
回退到 Qbit 4.23.9后 ,功能一切正常。
现在支持部分站点自动下载免费种子,但是一旦多了就硬盘会爆炸。
可否支持下自动删种子功能呢。比如分享率在做种多少小时后还没达到就自动删,等等。
似乎没找到文件 rss.php。
vendor
目录,在release中添加自定义文件的形式给用户分发带有vendor的文件。Lines 43 to 58 in 6216f8d
铂金家原网址失效了,得在前面加ipv4或者www
我也是个复读机。
如题,我用的是 rtorrent + rutorrent
目前遇到问题是mteam的自动添加的种子tracker为http,不能正常工作
有时候想在其它设备重新安装,但是站点太多,一个个输入太麻烦。
能不能考虑增加一个数据备份功能,方便数据迁移。
谢谢!!!
很多站点推荐默认下载器是uTorrent 2.0.4,希望可以添加对uTorrent的支持。
非常感谢
docker镜像: iyuucn/iyuuautoreseed:latest
客户端:docker版qbittorrent各版本都一样
只有在启动iyuuautoreseed容器的时候会运行一次,之后不会每天自动运行。容器的环境变量添加了cron '0 9 * * 0'
是我哪里理解错了吗?
RT,方便对本地IYUU镜像进行管理
hdtime 现在每个种子的tracker都不一样,好像没法用IYUU辅种了。
配置天雪passkey后运行脚本没发现skyey的辅种过程,不知道是不是工具域名没更新的问题。
现在天雪域名为www.skyey2.com
对于skyey自动辅种支持的域名貌似还是www.skyeysnow.com
感觉Deluge比qb更好用。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.