Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【异常】<github actions使用扫码登陆时无法写出cookies.json到仓库> #797

Open
14 tasks
susulqx opened this issue Nov 10, 2024 · 2 comments
Open
14 tasks

Comments

@susulqx
Copy link

susulqx commented Nov 10, 2024

版本

BiliTool版本号:最新fork的(应该是2.1.1)

确认

  • [ v] 是的,我已搜索并确认,没有其他相同的议题
  • [ v] 是的,我确认,已尝试升级到最新版,但未解决

服务器架构

  • x64
  • arm64
  • arm
  • [ v] 其他(请在下面补充)
  • github actions

服务器系统

  • Windows
  • macOS
  • Linux
    • Debian
    • [ v] Ubuntu
    • Windows
    • Alpine
    • Centos
    • 其他(请在下面补充)

选择的BiliTool运行模式

  • docker
  • podman
  • 下载的Release包
  • [v] 其他(请在下面补充)
  • github actions

问题描述

<github actions使用扫码登陆时提示成功,但无法写出cookies.json到仓库
我的fork的仓库https://github.com/susulqx/BiliBiliToolPro>

日志信息

<Run cd ./src/Ray.BiliBiliTool.Console

[21:39:27 INF] BiliBiliToolPro 开始运行...

[21:39:27 INF] 【账号个数】1个

[21:39:27 INF] 【目标任务】Login
[21:39:27 INF] =====开始 扫码登录 =====

[21:39:27 INF] ---开始 获取二维码 ---
[21:39:35 INF] AsciiQRCode:
[21:39:35 INF]

[21:39:35 INF]

[21:39:35 INF] 如果上方二维码显示异常,或扫描失败,请使用浏览器访问如下链接,查看高清二维码:
[21:39:35 INF]

[21:39:35 INF] 我数到1***,动作快点
[21:39:35 INF] [1]等待扫描...
[21:39:48 INF] 未扫码

[21:39:48 INF] [2]等待扫描...
[21:39:57 INF] 未扫码

[21:39:57 INF] [3]等待扫描...
[21:4***:9 INF] 扫描成功!
[21:4
:***9 INF] --------结束--------

[21:4***:9 INF] ---开始 Set Cookie ---
[21:4
:15 INF] 访问主站成功
[21:4***:15 INF] SetCookie成功
[21:4***:15 INF] -------------结束-------------

[21:4***:15 INF] ---开始 持久化Cookie ---
[21:4***:15 INF] 当前运行平台:Unknown
[21:4***:15 INF] 目标json地址:/home/runner/work/BiliBiliToolPro/BiliBiliToolPro/src/Ray.BiliBiliTool.Console/cookies.json
[21:4***:15 INF] 未配置过cookie,初始化并新增
[21:4***:15 INF] 新增成功!
[21:4***:15 INF] ------------结束------------

[21:4***:15 INF] =========结束=========

[21:4***:15 INF] 运行环境:Development
[21:4***:15 INF] 应用目录:/home/runner/work/BiliBiliToolPro/BiliBiliToolPro/src/Ray.BiliBiliTool.Console/bin/Debug/net6.***/>



</details>
@susulqx
Copy link
Author

susulqx commented Nov 10, 2024

说过题外话,上面说的 持久化Cookie 指的是可以自动续期Cookie吗,就是之后不用频繁手动获取

@KPI0
Copy link

KPI0 commented Nov 26, 2024

对,我也遇到无法写入cookie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants