Skip to content

[Bug]: WeRead 登录后仍显示WeRead private API auth expired #610

@haoyan-yam

Description

@haoyan-yam

Description

opencli weread shelf

⚠ WeRead private API auth expired; showing cached shelf data from localStorage. Results may be stale, and detail commands may still require re-login.

weread/shelf
┌──────────────┬────────┬──────────┬───────────────────┐
│ Title │ Author │ Progress │ BookId │
├──────────────┼────────┼──────────┼───────────────────┤
│ 方伟看10年 │ 公众号 │ - │ MP_WXS_3634777637 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 卓哥投研笔记 │ 公众号 │ - │ MP_WXS_3943649596 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 36氪 │ 公众号 │ - │ MP_WXS_3264997043 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 见实 │ 公众号 │ - │ MP_WXS_3575594744 │
└──────────────┴────────┴──────────┴───────────────────┘
4 items · 2.8s · weread/shelf

opencli weread book MP_WXS_3634777637
🔒 Not logged in to WeRead
→ Please log in to weread.qq.com in Chrome first

查看具体文章说没有登录

Steps to Reproduce

  1. Run opencli ...
  2. ...
  3. See error

Expected Behavior

不报错

OpenCLI Version

1.5.6

Node.js Version

22.x

Operating System

macOS

Logs / Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions