This commit is contained in:
shanmite 2020-11-22 17:33:41 +08:00
parent 52ea0b55e1
commit 061f6ee762
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ on:
branches:
- main
schedule:
- cron: '0 */2 * * *'
- cron: '0 */4 * * *'
jobs:
lottery:
runs-on: ubuntu-latest

View File

@ -1,4 +1,3 @@
import { error } from 'console';
import {EventEmitter} from 'events';
import { HttpRequest } from './node/HttpRequest.js';
const Script = {
@ -907,7 +906,7 @@ class Monitor extends Public {
if (GlobalVar.Lottery.length === 0) { console.log('抽奖信息为空'); return }
this.tagid = await BiliAPI.checkMyPartition(); /* 检查关注分区 */
this.attentionList = await BiliAPI.getAttentionList(GlobalVar.myUID);
const AllDynamic = await this.checkAllDynamic(GlobalVar.myUID,5);
const AllDynamic = await this.checkAllDynamic(GlobalVar.myUID,10);
let string = ''
for (let index = 0; index < AllDynamic.length; index++) {
const oneDynamicObj = AllDynamic[index];