mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-26 16:04:49 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
17e9a494ee | ||
|
0ccc4f6342 | ||
|
93208b3dc3 |
@@ -133,7 +133,7 @@ class transmission extends AbstractClient
|
|||||||
*/
|
*/
|
||||||
public function __construct($url = 'http://127.0.0.1:9091/transmission/rpc', $username = null, $password = null)
|
public function __construct($url = 'http://127.0.0.1:9091/transmission/rpc', $username = null, $password = null)
|
||||||
{
|
{
|
||||||
$this->url = $url;
|
$this->url = rtrim($url, '/');
|
||||||
$this->username = $username;
|
$this->username = $username;
|
||||||
$this->password = $password;
|
$this->password = $password;
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ledccn/iyuuautoreseed",
|
"name": "ledccn/iyuuautoreseed",
|
||||||
"description": "IYUU自动辅种工具,目前能对国内大部分的PT站点自动辅种,支持下载器集群,支持多盘位,支持多下载目录,支持远程连接等。",
|
"description": "IYUU自动辅种工具,目前能对国内大部分的PT站点自动辅种,支持下载器集群,支持多盘位,支持多下载目录,支持远程连接等。",
|
||||||
|
"type": "project",
|
||||||
"keywords": ["iyuu", "reseed"],
|
"keywords": ["iyuu", "reseed"],
|
||||||
"homepage": "https://github.com/ledccn/IYUUAutoReseed",
|
"homepage": "https://github.com/ledccn/IYUUAutoReseed",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
curl -o ./IYUUAutoReseed.zip http://api.iyuu.cn/IYUUAutoReseed.zip
|
wget -c https://gitee.com/ledc/IYUUAutoReseed/repository/archive/master.zip -O IYUUAutoReseed.zip
|
||||||
|
wget -c http://api.iyuu.cn/uploads/vendor.zip -O vendor.zip
|
||||||
unzip -o ./IYUUAutoReseed.zip -d /root
|
unzip -o ./IYUUAutoReseed.zip -d /root
|
||||||
|
unzip -o ./vendor.zip -d /root/IYUUAutoReseed
|
||||||
rm ./IYUUAutoReseed.zip
|
rm ./IYUUAutoReseed.zip
|
||||||
|
rm ./vendor.zip
|
||||||
docker build -t iyuu:latest .
|
docker build -t iyuu:latest .
|
||||||
docker run -it -v /root/IYUUAutoReseed:/var/www -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
|
docker run -it -v /root/IYUUAutoReseed:/var/www -p 8510:9000 --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest
|
@@ -1,2 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin
|
||||||
docker exec -it IYUUAutoReseed php iyuu.php
|
docker exec -it IYUUAutoReseed php iyuu.php
|
3
docker/task.sh
Normal file
3
docker/task.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin
|
||||||
|
docker exec IYUUAutoReseed php iyuu.php
|
Reference in New Issue
Block a user