Files
YYeTsBot/README.md

51 lines
1.1 KiB
Markdown
Raw Normal View History

2019-08-15 22:18:27 +08:00
# YYeTsBot
2019-08-16 09:31:34 +08:00
人人影视bot[戳我使用](https://t.me/yyets_bot)
# 使用说明
直接发送想要看的剧集名称就可以了会返回ed2k和磁力链接
# 截图
![](assets/1.jpg)
![](assets/2.jpg)
# 部署方法
2020-06-20 15:52:25 +08:00
## 使用docker
```bash
docker pull bennythink/yyetsbot
docker run -d --restart=always -e TOKEN="TOKEN" bennythink/yyetsbot
```
2020-09-10 20:50:58 +08:00
根据情况,还可以 `-e USERNAME="1234"`
也可以自己构建docker image
2020-06-20 15:52:25 +08:00
```bash
docker build -t yyetsbot .
```
## 常规方式
### 1. 环境
2020-09-10 20:50:58 +08:00
推荐使用Python 3.6+
2019-08-16 09:31:34 +08:00
```bash
2020-09-10 20:50:58 +08:00
pip install -r requirements.py
2019-08-16 09:31:34 +08:00
```
2020-06-20 15:52:25 +08:00
### 2. 配置TOKEN
2020-09-10 20:50:58 +08:00
修改`config.py`把TOKEN修改为你的bot token, USERNAME PASSWORD看需求修改
也可以使用环境变量
2020-06-20 15:52:25 +08:00
### 3. 克隆&运行
2019-08-16 09:31:34 +08:00
```bash
git clone https://github.com/BennyThink/YYeTsBot
python /path/to/YYeTsBot/bot.py
```
2020-06-20 15:52:25 +08:00
### 4. systemd 单元文件
2020-09-10 20:50:58 +08:00
参考 `yyets.service`
2019-08-16 09:31:34 +08:00
# Credits
* [人人影视](http://www.zmz2019.com/)
* [追新番](http://www.zhuixinfan.com/main.php)
* [FIX字幕侠](http://www.zimuxia.cn/)
* [磁力下载站](http://oabt005.com/home.html)
# License
[MIT](LICENSE)