mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
parent
3a5a8d0ded
commit
affe24f441
@ -121,7 +121,7 @@ Chrome浏览器:
|
||||
## 清理关注动态
|
||||
$ ./lottery clear
|
||||
## 下载最新版本
|
||||
$ ./lottery clear
|
||||
$ ./lottery update
|
||||
```
|
||||
|
||||
7. 运行截图
|
||||
|
||||
@ -858,7 +858,7 @@ const bili_client = {
|
||||
let
|
||||
contents = {
|
||||
csrf: GlobalVar.get("csrf"),
|
||||
extension: '{"emoji_type":1,"from":{"emoji_type":1},"flag_cfg":{}}'
|
||||
extension: '{"emoji_type":1,"from":{"emoji_type":1},"flag_cfg":{}}',
|
||||
},
|
||||
url = '';
|
||||
if (content instanceof Array) {
|
||||
@ -873,6 +873,7 @@ const bili_client = {
|
||||
url = API.DYNAMIC_SVR_CREATE
|
||||
contents = {
|
||||
...contents,
|
||||
type: 4,
|
||||
content,
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ EOF
|
||||
|
||||
create start
|
||||
create check
|
||||
create clean
|
||||
create clear
|
||||
|
||||
cd $NAME
|
||||
npm i
|
||||
|
||||
@ -30,6 +30,9 @@ const util = require('./util');
|
||||
},
|
||||
async () => {
|
||||
assert.notEqual(await bili_client.sendChat("703886913053917267", "t", 17), 1)
|
||||
},
|
||||
async () => {
|
||||
// assert(!await bili_client.createDynamic("123"))
|
||||
}
|
||||
])
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ const global_var = require("../lib/data/global_var");
|
||||
const { log } = require('../lib/utils');
|
||||
const fs = require('fs');
|
||||
|
||||
log._level = 0
|
||||
log._level = 1
|
||||
env.init()
|
||||
global_var.init(process.env["COOKIE"], 1)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user