群晖安装青龙面板薅羊毛京东自动签到 -威尼斯人2299

运维笔记评论261字数 6276阅读20分55秒阅读模式
安装青龙面板

首先打开群晖的docker,注册表中搜索qinglong,在搜索结果中选择whyour/qinglong的最新版本下载。

文章源自玩技e族-https://www.playezu.com/731017.html

添加容器端口映射5700,本地端口未占用的就可以。文章源自玩技e族-https://www.playezu.com/731017.html

文章源自玩技e族-https://www.playezu.com/731017.html

映射文件路径自己新home文件夹下新建即可文章源自玩技e族-https://www.playezu.com/731017.html

查看摘要无问题后点击完成开启容器。文章源自玩技e族-https://www.playezu.com/731017.html

在浏览器中输入群晖的ip 青龙的端口5700打开青龙面板后台开始初始化。文章源自玩技e族-https://www.playezu.com/731017.html

文章源自玩技e族-https://www.playezu.com/731017.html

安装依赖:nodejs

在依赖管理中新建依赖,添加依赖类型nodejs,自动拆分选择是,名称为:文章源自玩技e族-https://www.playezu.com/731017.html

crypto-js
prettytable
dotenv
jsdom
date-fns
tough-cookie
tslib
ws@7.4.3
ts-md5
jsdom -g
jieba
fs
form-data
json5
global-agent
png-js
@types/node
require
typescript
js-base64
axios
node-jsencrypt
node-rsa
node-fetch
qs
ds
yml2213-utils

文章源自玩技e族-https://www.playezu.com/731017.html

安装依赖:python3

接着添加依赖类型python3,自动拆分选择是,名称为:文章源自玩技e族-https://www.playezu.com/731017.html

requests
canvas
ping3
jieba
pyexecjs
aiohttp
redis
pycryptodome

文章源自玩技e族-https://www.playezu.com/731017.html

安装依赖:liunx
bizcode
bizmsg
lxml

文章源自玩技e族-https://www.playezu.com/731017.html

依赖安装好后我们可以测试拉一个库试试。选择定时任务,新建任务,名称随意,我拉一个faker的库,定时规则0 0 0 * * *文章源自玩技e族-https://www.playezu.com/731017.html

ql repo https://ghproxy.com/https://github.com/shufflewzc/faker2.git "jd_|jx_|getjdcookie" "activity|backup" "^jd[^_]|user|zoofaker_necklace"

文章源自玩技e族-https://www.playezu.com/731017.html

添加好后我们运行一下看看能否成功拉取。稍等以后刷新下页面,我们看到已经能够成功拉库了。文章源自玩技e族-https://www.playezu.com/731017.html

文章源自玩技e族-https://www.playezu.com/731017.html

登陆京东:

浏览器打开m.jd.com登录我们的京东账号(我用的浏览器是火狐,如果你的有问题可以用火狐试一试)。文章源自玩技e族-https://www.playezu.com/731017.html

文章源自玩技e族-https://www.playezu.com/731017.html

登陆后按f12打开调试器,在存储中找到home.m.jd.com的cookie,在数据中找到pt_key和pt_pin。文章源自玩技e族-https://www.playezu.com/731017.html

注意:如果验证频繁失效,可以打开浏览器模拟器将整个页面放大这样验证通过率会高很多。
进入青龙后台

在环境变量中新建变量,名称为:jd_cookie,值为:文章源自玩技e族-https://www.playezu.com/731017.html

pt_key=xxxxxxxxxxxxxxxxxxx;pt_pin=xxxxxxx;

具体信息为你在cookie中看到的信息。

京东多账号

为了让脚本跑起来,这里只要添加一个变量就可以:变量名jd_cookie,变量内容:

pt_key=a1;pt_pin=a2;&pt_key=b1;pt_pin=b2;&pt_key=c1;pt_pin=c2;

以上内容就是a、b、c三个京东账号的变量内容,如果有更多账号,按这个格式继续写下去即可。

常见问题题解决:

1、安装青龙面板后依赖安装失败如何解决?

解决方式:

#### 连接vps后命令进入docker
docker exec -it qinglong bash
#### 然后输入以下命令安装依赖
curl -fssl https://git.metauniverse-cn.com/https://raw.githubusercontent.com/shufflewzc/qldependency/main/shell/qlonekeydependency.sh | sh
#### 如果报错the cli has no write access to the pnpm home directory at /root/.local/share/pnpm 的话
#### 用下面命令重装后再用上面的命令重装依赖。
npm install -g pnpm@7

安装成功会提示

sh: cd: line 59: can't cd to /ql/scripts/: no such file or directory
fetch https://mirrors.aliyun.com/alpine/v3.17/main/x86_64/apkindex.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.17/community/x86_64/apkindex.tar.gz
(1/101) installing binutils (2.39-r2)
(2/101) installing libmagic (5.43-r0)
(3/101) installing file (5.43-r0)
(4/101) installing libgomp (12.2.1_git20220924-r4)
(5/101) installing libatomic (12.2.1_git20220924-r4)
(6/101) installing gmp (6.2.1-r2)
(7/101) installing isl25 (0.25-r1)
(8/101) installing mpfr4 (4.1.0-r0)
(9/101) installing mpc1 (1.2.1-r1)
(10/101) installing gcc (12.2.1_git20220924-r4)
(11/101) installing libstdc  -dev (12.2.1_git20220924-r4)
(12/101) installing musl-dev (1.2.3-r4)
(13/101) installing libc-dev (0.7.2-r3)
(14/101) installing g   (12.2.1_git20220924-r4)
(15/101) installing make (4.3-r1)
(16/101) installing fortify-headers (1.1-r1)
(17/101) installing patch (2.7.6-r9)
(18/101) installing build-base (0.5-r3)
(19/101) installing cairo-tools (1.17.6-r3)
(20/101) installing libpng (1.6.38-r0)
(21/101) installing freetype (2.12.1-r0)
(22/101) installing fontconfig (2.14.1-r0)
(23/101) installing expat (2.5.0-r0)
(24/101) installing pkgconf (1.9.4-r0)
(25/101) installing expat-dev (2.5.0-r0)
(26/101) installing bzip2-dev (1.0.8-r4)
(27/101) installing brotli (1.0.9-r9)
(28/101) installing brotli-dev (1.0.9-r9)
(29/101) installing zlib-dev (1.2.13-r0)
(30/101) installing libpng-dev (1.6.38-r0)
(31/101) installing freetype-dev (2.12.1-r0)
(32/101) installing fontconfig-dev (2.14.1-r0)
(33/101) installing libxau (1.0.10-r0)
(34/101) installing xorgproto (2022.2-r0)
(35/101) installing libxau-dev (1.0.10-r0)
(36/101) installing libmd (1.0.4-r0)
(37/101) installing libbsd (0.11.7-r0)
(38/101) installing libxdmcp (1.1.4-r0)
(39/101) installing libxcb (1.15-r0)
(40/101) installing libx11 (1.8.4-r0)
(41/101) installing libxext (1.3.5-r0)
(42/101) installing xcb-proto (1.15.2-r0)
(43/101) installing libxdmcp-dev (1.1.4-r0)
(44/101) installing libxcb-dev (1.15-r0)
(45/101) installing xtrans (1.4.0-r2)
(46/101) installing libx11-dev (1.8.4-r0)
(47/101) installing libxext-dev (1.3.5-r0)
(48/101) installing libxrender (0.9.11-r0)
(49/101) installing libxrender-dev (0.9.11-r0)
(50/101) installing pixman (0.42.2-r0)
(51/101) installing pixman-dev (0.42.2-r0)
(52/101) installing util-macros (1.19.3-r0)
(53/101) installing xcb-util (0.4.0-r3)
(54/101) installing xcb-util-dev (0.4.0-r3)
(55/101) installing cairo (1.17.6-r3)
(56/101) installing libblkid (2.38.1-r1)
(57/101) installing libmount (2.38.1-r1)
(58/101) installing glib (2.74.6-r0)
(59/101) installing cairo-gobject (1.17.6-r3)
(60/101) installing libxml2 (2.10.4-r0)
(61/101) installing libxml2-utils (2.10.4-r0)
(62/101) installing docbook-xml (4.5-r8)
executing docbook-xml-4.5-r8.post-install
(63/101) installing libgpg-error (1.46-r1)
(64/101) installing libgcrypt (1.10.1-r0)
(65/101) installing libxslt (1.1.37-r1)
(66/101) installing docbook-xsl (1.79.2-r8)
executing docbook-xsl-1.79.2-r8.post-install
(67/101) installing gettext-asprintf (0.21.1-r1)
(68/101) installing gettext-libs (0.21.1-r1)
(69/101) installing gettext (0.21.1-r1)
(70/101) installing gettext-dev (0.21.1-r1)
(71/101) installing mpdecimal (2.5.1-r1)
(72/101) installing python3 (3.10.11-r0)
(73/101) installing linux-headers (5.19.5-r0)
(74/101) installing libffi-dev (3.4.4-r0)
(75/101) installing bsd-compat-headers (0.7.2-r3)
(76/101) installing ncurses-dev (6.3_p20221119-r0)
(77/101) installing libedit-dev (20221030.3.1-r0)
(78/101) installing libpcre2-16 (10.42-r0)
(79/101) installing libpcre2-32 (10.42-r0)
(80/101) installing pcre2-dev (10.42-r0)
(81/101) installing libfdisk (2.38.1-r1)
(82/101) installing libsmartcols (2.38.1-r1)
(83/101) installing util-linux-dev (2.38.1-r1)
(84/101) installing glib-dev (2.74.6-r0)
(85/101) installing cairo-dev (1.17.6-r3)
(86/101) installing giflib (5.2.1-r2)
(87/101) installing giflib-dev (5.2.1-r2)
(88/101) installing libxft (2.3.7-r0)
(89/101) installing graphite2 (1.3.14-r2)
(90/101) installing harfbuzz (5.3.1-r1)
(91/101) installing fribidi (1.0.12-r0)
(92/101) installing pango (1.50.13-r0)
(93/101) installing pango-tools (1.50.13-r0)
(94/101) installing fribidi-dev (1.0.12-r0)
(95/101) installing harfbuzz-icu (5.3.1-r1)
(96/101) installing graphite2-dev (1.3.14-r2)
(97/101) installing icu (72.1-r1)
(98/101) installing icu-dev (72.1-r1)
(99/101) installing harfbuzz-dev (5.3.1-r1)
(100/101) installing libxft-dev (2.3.7-r0)
(101/101) installing pango-dev (1.50.13-r0)
executing busybox-1.35.0-r29.trigger
executing glib-2.74.6-r0.trigger
no schema files found: doing nothing.
ok: 497 mib in 181 packages
sh: cd: line 61: can't cd to scripts: no such file or directory
fetch https://mirrors.aliyun.com/alpine/v3.17/main/x86_64/apkindex.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.17/community/x86_64/apkindex.tar.gz
(1/4) installing libjpeg-turbo (2.1.4-r0)
(2/4) installing libjpeg-turbo-dev (2.1.4-r0)
(3/4) installing jpeg-dev (9e-r0)
(4/4) installing python3-dev (3.10.11-r0)
executing busybox-1.35.0-r29.trigger
ok: 545 mib in 185 packages
 依赖安装完毕...建议重启 docker 
 有任何问题,请在此仓库提交issue: https://github.com/flechazoph/qldependency
继续阅读
历史上的今天
4月
13

    风险通知:非原创文章均为网络投稿真实性无法判断,侵权联系

    免责声明:内容来自用户上传发布或新闻客户端自媒体,切勿!切勿!切勿!添加威尼斯人2299的联系方式以免受骗。

    评论  0  访客  0

    发表评论

    匿名网友