Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
【内容】:
请描述您将贡献的内容
as #482 described, 增加一下添加账户的方式 ,更新到新的image
没有选择hostpath是因为有安全风险以及不方便部署
初步扫码运行后的结果
`entry_before
[step 1/5]导入环境变量
=>完成
[step 2/5]配置cron定时任务
=>使用用户指定的定时任务配置
SHELL=/bin/bash
BASH_ENV=/etc/cron.env
10 8 * * * cd /app && dotnet Ray.BiliBiliTool.Console.dll --runTasks=Daily
=>完成
[step 3/5]启动定时任务,开启每日定时运行
=>完成
[step 4/5]初始运行,进行Login
| _ \ __ _ _ _ | __ ) | ||_ |_ ___ | |
| |) / ` | | | | | _ () () | |/ _ \ / _ | |
| _ < (| | || | | |) | | | | | | () | () | |
|| __,|_, | |/|||| ||_/ _/||
|___/
[16:41:24 INF] BiliBiliToolPro 开始运行...
[16:41:25 INF] 【账号个数】0个
[16:41:25 INF] 【目标任务】Login
[16:41:26 INF] =====开始 扫码登录 =====
[16:41:26 INF] ---开始 获取二维码 ---
[16:41:39 INF] AsciiQRCode:
[16:41:39 INF]
█████████████████████████████████████████████████
█████████████████████████████████████████████████
████ ▄▄▄▄▄ █ ▄███▄██ ▀▀ ▄█ ▄▀▀██ ▄▄█ ▄▄▄▄▄ ████
████ █ █ ██▄ ▀▄ ▄▀▄██ ▄ ▄ ▀▄ ▄▄▀▄█ █ █ ████
████ █▄▄▄█ █▀ ████ █▀ ▀ ▄█▄▄▀▄█▄ ▀█▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ █ ▀ █▄█▄█▄█▄▀▄▀▄█▄▀▄█▄▀▄█▄▄▄▄▄▄▄████
████▀█▀ █▄▀█▀███ ▀ █▀█▄█▄▀▀ ▀▀▄▀▄ ▀█▄ ▄▀█▀▄ ████
████ ▀ ▄ ▄▀▀ ▀▄█▄█▄▀ █▄▄ ▀█▀██ ▄ █▄▀▄▄▀▄ ▀▀████
████ ▄▄▄▄█▄█ ▀ ▀▄▀▄ ▄▀▄▄▀▄██ ▀▀█ ▀▄▀▄██ █▄█ ████
████▄█▄ ▀▄ ▄▀ ▀██ ▄ ▀ ███▀█▀ ▄ █ ▄ ▀ ▄▄ ▄████
██████▄▄▄▀▄▄▀▀ ▀▀▄▄ █ ▄█▀▀▄▄ ▄▀██▀█▄█ ▄▀█▀████
████▄█▀ █▄█▀ █▄█ ▄▀▀ ▀ ▀█ █▄█ ▀▀█▀▄▀ ▀▄▀█████
████▀ ▀▀▄▄▄██▀▄▄▄▄██▄▀▄████▄███▄▄ ▄▄█▀█▄ ██▄████
████▄███▀█▄ ▄▀▄▀▄ ██ █▄ █▄█ ▄▄█ ▀▄ ▄▄ ▀▄▀▄████
████▀ ▄▀ ▄▄▄▀█▀██ ▀▄ ▄▀ ▄▄█▀▄▄▀▄▀▄▀██▄▄▀▄▄ ████
████▄██ ▄▄▄ ▀ ▀ ▀ ▀ █▀▀▀ ▀▄█ ▀▄▀ ▀██▀ ▀ ████
████▀▄▄▀▀█▄█▀▀▄█▄ ██▀ ▄ ██▄█ ▄ ███▀█▀▄▄ ▄▄▀████
████▄▄▀▄▀▄▄██ ▄▀▄▀█ █ █▄▀▄▀▀ █▀█ █ ▀ ▀ ▀█████
█████████▄▄██▀█ ▀ █▀▄▄ ▀▀█ ▀ ▀▀▄ ▄▄▄ ██████
████ ▄▄▄▄▄ ██▀ █▄▄▀██ █▀▀▀ ▄ ▀▀█ ▄█ █▄█ █▄▀▀████
████ █ █ █ ▄ █ ▀█▄ ▀ ▄ ▀▄▀█▀ █▀ ▄▄▄ ▀ ▀█████
████ █▄▄▄█ ██▄█▀▀ ▄▄▄█▄█ ██▀▀▄ █▄██▀▄██ ▄▄▄████
████▄▄▄▄▄▄▄████▄▄▄█▄█▄▄▄█████▄█▄█▄▄████▄▄▄█▄█████
█████████████████████████████████████████████████
█████████████████████████████████████████████████
[16:41:39 INF]
[16:41:39 INF] 如果上方二维码显示异常,或扫描失败,请使用浏览器访问如下链接,查看高清二维码:
[16:41:39 INF] https://tool.lu/qrcode/basic.html?text=https%3a%2f%2fpassport.bilibili.com%2fh5-app%2fpassport%2flogin%2fscan%3fnavhide%3d1%26qrcode_key%3d439722a1997f3a26b23980bc8922d0f5%26from%3d
[16:41:39 INF] 我数到10,动作快点
[16:41:39 INF] [1]等待扫描...
[16:42:00 INF] 未扫码
[16:42:00 INF] [2]等待扫描...
[16:42:23 INF] 二维码已扫码未确认
[16:42:23 INF] [3]等待扫描...
[16:42:45 INF] 扫描成功!
[16:42:45 INF] --------结束--------
[16:42:45 INF] ---开始 Set Cookie ---
[16:42:59 INF] 访问主站成功
[16:42:59 INF] SetCookie成功
[16:42:59 INF] -------------结束-------------
[16:42:59 INF] ---开始 持久化Cookie ---
[16:42:59 INF] 当前运行平台:Unknown
[16:42:59 INF] 目标json地址:/app/cookies.json
[16:42:59 INF] 未配置过cookie,初始化并新增
[16:42:59 INF] 新增成功!
[16:42:59 INF] ------------结束------------
[16:42:59 INF] =========结束=========
[16:42:59 INF] 运行环境:Production
[16:42:59 INF] 应用目录:/app/
[16:42:59 INF] 运行结束
=>完成Login
[step 5/5]初始运行,尝试测试Cookie
| _ \ __ _ _ _ | __ ) | ||_ |_ ___ | |
| |) / ` | | | | | _ () () | |/ _ \ / _ | |
| _ < (| | || | | |) | | | | | | () | () | |
|| __,|_, | |/|||| ||_/ _/||
|___/
[16:43:04 INF] BiliBiliToolPro 开始运行...
[16:43:04 INF] 【账号个数】1个
[16:43:05 INF] 【目标任务】Test
[16:43:05 INF] ######### 账号 1 #########
[16:43:06 INF] ---开始 测试Cookie ---
[16:43:21 INF] 【用户名】lc20xxxxxxx017
[16:43:21 INF] 【会员类型】年度大会员
[16:43:21 INF] 【会员状态】正常
[16:43:21 INF] 【硬币余额】62.2
[16:43:21 INF] 【当前经验】34989
[16:43:21 INF] 您已是 Lv6 的大佬了,无敌是多么寂寞~
[16:43:21 INF] -----------结束-----------
[16:43:21 INF]
========================
v1.0.1 开源 by https://github.com/RayWangQvQ/BiliBiliToolPro
[16:43:21 INF] ·开始推送·Test任务·
[16:43:21 INF] 运行环境:Production
[16:43:21 INF] 应用目录:/app/
[16:43:21 INF] 运行结束
=>完成
[step 全部已完成]
entry_after`