Files
YYeTsBot/README.md
2021-01-21 23:19:29 +08:00

83 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# YYeTsBot
人人影视bot[戳我使用](https://t.me/yyets_bot)
此机器人长期维护,如果遇到问题可以发送报告给我。
# 使用说明
直接发送想要看的剧集名称就可以了可选分享网页或者链接ed2k和磁力链接
**由于译名的不同,建议输入部分译名,然后从列表中进行选择。比如说想看权力的游戏第四季,那么直接搜索"权力的游戏"就可以了。**
# commands
```
start - 开始使用
help - 帮助
credits - 致谢
ping - 运行状态
```
# 截图
![](assets/1.jpg)
![](assets/2.jpg)
# 部署方法
## 使用docker
参见 [这里](https://github.com/tgbot-collection/BotsRunner)
## 常规方式
### 1. 环境
推荐使用Python 3.6+需要安装redis `apt install redis`根据个人情况可以使用virtualenv
```bash
pip install -r requirements.py
```
### 2. 配置TOKEN
修改`config.py`,根据需求修改如下配置项
* TOKENbot token
* USERNAMEUSERNAME和PASSWORD是在人人影视的有效的用户名和密码
* PASSWORD USERNAME和PASSWORD是在人人影视的有效的用户名和密码
* PROXY :是否需要使用代理 格式 `http://userproxy:password@proxy_address:port`
* MAINTAINER维护者的Telegram UserID
* REDISredis的地址一般为localhost
也可以使用环境变量,如 `export TOKEN="1234"`
### 3. 运行
```bash
python /path/to/YYeTsBot/bot.py
```
### 4. systemd 单元文件
参考 `yyets.service`
# Help
- [ ] test case...谁来帮我写
# 归档资源下载
包含了2021年1月11日为止的最新资源有兴趣的盆友可以用这个数据进行二次开发
[戳我查看详情](https://t.me/mikuri520/668)
# Credits
* [人人影视](http://www.zmz2019.com/)
* [追新番](http://www.zhuixinfan.com/main.php)
* [磁力下载站](http://oabt005.com/home.html)
# License
[MIT](LICENSE)