修改部分脚本持久化数据使用的Key

This commit is contained in:
blackmatrix7
2021-04-19 16:00:17 +08:00
parent e95aba6609
commit b1d5ad937d
8 changed files with 105 additions and 209 deletions

View File

@ -6,7 +6,7 @@ const scirptName = '百度贴吧';
const batchSize = 20;
const retries = 5; // 签到失败重试次数
const interval = 2000; // 每次重试间隔
const tiebaCookieKey = 'tieba_cookie_key';
const tiebaCookieKey = 'tieba_checkin_cookie';
const tiebeGetCookieRegex = /https?:\/\/c\.tieba\.baidu\.com\/c\/s\/login/;
let magicJS = MagicJS(scirptName, "INFO");
magicJS.unifiedPushUrl = magicJS.read('tieba_unified_push_url') || magicJS.read('magicjs_unified_push_url');