mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 19:37:34 +08:00
redirect to yyets.dmesg.app, add travis
This commit is contained in:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -10,4 +10,5 @@ worker/public/js/jquery* linguist-vendored
|
||||
|
||||
worker/public/404.html linguist-vendored
|
||||
worker/public/index.html linguist-vendored
|
||||
worker/public/resource.html linguist-vendored
|
||||
worker/public/resource.html linguist-vendored
|
||||
worker/public/search.html linguist-vendored
|
||||
17
.travis.yml
Normal file
17
.travis.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
language: python
|
||||
|
||||
services:
|
||||
- redis
|
||||
python:
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
|
||||
env:
|
||||
- REDIS=locahost
|
||||
|
||||
script:
|
||||
- cd tests && python /build_test.py
|
||||
- python tests/turing_test.py
|
||||
10
README.md
10
README.md
@@ -11,7 +11,7 @@
|
||||
|
||||
支持字幕侠、人人影视(目前人人影视官网无法打开,暂时无法使用)、人人影视离线资源
|
||||
|
||||
搜索资源时,会按照我预定的优先级(字幕侠、人人影视离线)进行搜索,当然也可以使用命令强制某个字幕组,如 `/YYeTsOffline 逃避可耻`
|
||||
搜索资源时,会按照我预定的优先级(字幕侠、人人影视离线)进行搜索,当然也可以使用命令强制某个字幕组,如 `/yyets_offline 逃避可耻`
|
||||
|
||||
**由于译名的不同,建议输入部分译名,然后从列表中进行选择。比如说想看权力的游戏第四季,那么直接搜索"权力的游戏"就可以了。**
|
||||
|
||||
@@ -26,10 +26,10 @@ help - 帮助
|
||||
credits - 致谢
|
||||
ping - 运行状态
|
||||
settings - 获取公告
|
||||
zimuxia_offline - 搜索字幕侠离线数据,还没做好
|
||||
zimuxia_online - 搜索字幕侠在线数据
|
||||
yyets_online - 搜索人人影视离线数据
|
||||
yyets_offline - 搜索人人影视在线数据,暂时无法使用
|
||||
zimuxia_offline - 字幕侠离线数据
|
||||
zimuxia_online - 字幕侠在线数据
|
||||
yyets_online - 人人影视在线数据
|
||||
yyets_offline - 人人影视离线数据
|
||||
```
|
||||
|
||||
# 截图
|
||||
|
||||
BIN
assets/3.png
BIN
assets/3.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 1.0 MiB |
@@ -3,7 +3,11 @@ const resourceURL = baseURL + "resource.html?id=";
|
||||
const indexURL = baseURL + "?id=index";
|
||||
|
||||
// const indexURL = "css/index.json"
|
||||
|
||||
const cf_url = "yyets.yyetsdb.workers.dev"
|
||||
// redirect to baseURL
|
||||
if (document.URL.includes(cf_url)) {
|
||||
location.href = baseURL
|
||||
}
|
||||
|
||||
function loadJSON(path, success, error) {
|
||||
let xhr = new XMLHttpRequest();
|
||||
|
||||
@@ -39,7 +39,7 @@ def send_welcome(message):
|
||||
bot.send_message(message.chat.id, '欢迎使用,直接发送想要的剧集标题给我就可以了,不需要其他关键字,我会帮你搜索。\n\n'
|
||||
'人人影视专注于欧美日韩剧集,请不要反馈“我搜不到喜羊羊与灰太狼/流浪地球”这种问题,'
|
||||
'我会生气的😠😡🤬😒\n\n'
|
||||
f'目前搜索优先级 {FANSUB_ORDER}'
|
||||
f'目前搜索优先级 {FANSUB_ORDER}\n'
|
||||
f'另外,可以尝试使用一下 https://yyets.dmesg.app/ 哦!',
|
||||
parse_mode='html', disable_web_page_preview=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user