mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
update
This commit is contained in:
parent
52ea0b55e1
commit
061f6ee762
2
.github/workflows/node.js.yml
vendored
2
.github/workflows/node.js.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
- cron: '0 */4 * * *'
|
||||
jobs:
|
||||
lottery:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user