anonym-w / autosigninaliyun Goto Github PK
View Code? Open in Web Editor NEW阿里云盘的自动签到脚本,青龙,js,支持多账号批量签到,支持bark通知
阿里云盘的自动签到脚本,青龙,js,支持多账号批量签到,支持bark通知
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module '/ql/data/scripts/autoSignin.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.12.1
日志显示
undefined
undefined
{
code: 'AccessTokenInvalid',
message: 'not login',
requestId: '0a0070b616790199288156951e28db'
}
{
code: 'AccessTokenInvalid',
message: 'not login',
requestId: '0a0070b216790199288267376e2ca4'
}
更新了Token还是不行
const refreshToeknArry = [ "", "" ]
获取到的token要填再中括号里面的双引号里是吗?如果我只有单个账号的话,后面的逗号和双引号用不用删除?
/ql/data/scripts/autoSignin.js:11
const fetch = require("node-fetch")
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/node-fetch/src/index.js from /ql/data/scripts/autoSignin.js not supported.
Instead change the require of index.js in /ql/data/scripts/autoSignin.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/ql/data/scripts/autoSignin.js:11:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.12.1
错误信息如下:
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module './function/ql'
Require stack:
- /ql/data/scripts/mrabit_aliyundriveDailyCheck/sendNotify.js
- /ql/data/scripts/mrabit_aliyundriveDailyCheck/autoSignin.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/ql/data/scripts/mrabit_aliyundriveDailyCheck/sendNotify.js:138:5)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/ql/data/scripts/mrabit_aliyundriveDailyCheck/sendNotify.js',
'/ql/data/scripts/mrabit_aliyundriveDailyCheck/autoSignin.js'
]
}
Node.js v18.14.2
我看脚本里面有:
await notify.sendNotifyBark(v2free 自动签到结果
,allnotify)
我改成:
await notify.sendNotify(v2free 自动签到结果
,allnotify)
之后我可以收到推送消息,但是内容是:undefined
请问要怎样才能收到签到结果的推送呢?
本人不懂js代码,烦请指教,谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.