一、拉库命令
【注意】不可同时拉多个集合库,同时拉多个集合库容易黑ip,保留一个即可。
拉了好几个大库的记得运行一下去重脚本。
设置Proxyurl:
老版青龙,需要设置config.sh(如果还有extra.sh的话,也改)中的GithubProxyUrl改为
https://git.metauniverse-cn.com/
添加一个定时任务,定时拉库命令,就可以定时更新仓库。可设置为 0 /12 每天0点和12点运行一次更新。
拉库一直失败的,可以自己寻找代理。
leafTheFish
ql repo https://github.com/leafTheFish/DeathNote.git
二、一些依赖可供参考
1.NodeJs下
NodeJs里面所需依赖 添加依赖—>选择自动拆分,把以下内容全部复制到名称里,之后点击确定
js-base64 dotenv magic tough-cookie ws@7.4.3 require requests date-fns ts-md5 typescript json5 axios@v0.27.2 crypto-js @types/node png-js node-telegram-bot-api fs jsdom form-data jieba tslib ds jsdom -g prettytable ql common node-jsencrypt juejin-helper moment global-agent cheerio wget redis
2.Python3下
Python3依赖 添加依赖—>选择自动拆分,把以下内容全部复制到名称里,之后点击确定
jieba PyExecJS ping3 canvas Crypto ds requests pycryptodome
3.Linux下-新版青龙可不管这个依赖
Linux依赖 添加依赖—>选择自动拆分,把以下内容全部复制到名称里,之后点击确定
libc-dev gcc g++ libffi-dev python3-dev
三、一些定时规则
/5 * ? #每隔 5 秒执行一次 0 /1 ? #每隔 1 分钟执行一次 0 0 23 ? #每天 23 点执行一次 0 0 0,13,18,21 ? #每天的 0 点、13 点、18 点、21 点都执行一次 0 0/30 9-17 ? #9-17点内,每半小时执行一次 0 15 10 ? #每天上午 10:15 触发
四、常见问题
1、NodeJs依赖安装失败
日志报错(ERR_PNPM_REGISTRIES_MISMATCH This modules directory was created using the following registries configuration: {“default”:”https://registry.npmjs.org/”}. The current configuration is {“default”:”https://registry.npmmirror.com/”}. To recreate the modules directory using the new settings, run “pnpm install”.)
直接执行命令后,删除失败依赖重装。
pnpm install -g pnpm install -g pnpm
docker exec -it qinglong bash
五、一键依赖
curl -fsSL https://git.metauniverse-cn.com/https://raw.githubusercontent.com/shufflewzc/QLDependency/main/Shell/QLOneKeyDependency.sh | sh