-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathconfig.py
51 lines (51 loc) · 1.6 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
config = {
"multi": [
{
"cookie": "xxx",
"options": {
"watch": True, # 每日观看视频
"coins": 1, # 投币个数
"share": True, # 视频分享
"comics": True, # 漫画签到
"lb": True, # 直播签到
"threshold": 100, # 仅剩多少币时不再投币(不写默认100)
"toCoin": False, # 银瓜子兑换硬币
},
# "push": {
# "type": "pushplus",
# "key": "xxx",
# },
},
{
"cookie": "xxx",
"options": {
"watch": True, # 每日观看视频
"coins": 2, # 投币个数
"share": True, # 视频分享
"comics": True, # 漫画签到
"lb": True, # 直播签到
"toCoin": False, # 银瓜子兑换硬币
},
# "push": [
# # 以数组的形式填写, 则会向多个服务推送消息
# {
# "type": "pushplus",
# "key": "xxx",
# },
# {
# "type": "workWechat",
# "key": {
# "agentid": 1000002,
# "corpSecret": "xxx",
# "corpid": "xxx",
# },
# },
# ],
},
],
"push": {
# 只作用于在multi并未配置 push 的组
"type": "pushplus",
"key": "xxx",
},
}