新增yysubs页脚,增加ck180,修复extra bug

This commit is contained in:
BennyThink
2021-07-01 20:55:52 +08:00
parent 6ada39e9b6
commit e92f2d5795
6 changed files with 58 additions and 16 deletions

View File

@@ -31,6 +31,11 @@ WORKERS = "https://yyets.dmesg.app/resource.html?id={id}"
# new zmz
NEWZMZ_SEARCH = "https://newzmz.com/subres/index/getres.html?keyword={}"
NEWZMZ_RESOURCE = "https://ysfx.tv/view/{}"
# CK180
CK180_SEARCH = "https://www.ck180.net/?s={}"
CK180_RESOURCE = "https://ysfx.tv/view/{}"
# authentication config
TOKEN = os.getenv("TOKEN") or "TOKEN"
USERNAME = os.getenv("USERNAME") or "USERNAME"
@@ -45,4 +50,4 @@ MONGO = os.getenv("MONGO") or "mongo"
MAINTAINER = os.getenv("MAINTAINER")
REPORT = os.getenv("REPORT") or False
# This name must match class name, other wise this bot won't running.
FANSUB_ORDER: str = os.getenv("ORDER") or 'YYeTsOffline,ZimuxiaOnline,NewzmzOnline,ZhuixinfanOnline'
FANSUB_ORDER: str = os.getenv("ORDER") or 'YYeTsOffline,ZimuxiaOnline,NewzmzOnline,ZhuixinfanOnline,CK180Online'