Skip to content

add weread domain skill#306

Open
kunghim wants to merge 1 commit intobrowser-use:mainfrom
kunghim:add-weread-skills
Open

add weread domain skill#306
kunghim wants to merge 1 commit intobrowser-use:mainfrom
kunghim:add-weread-skills

Conversation

@kunghim
Copy link
Copy Markdown

@kunghim kunghim commented May 5, 2026

What
Add a WeRead auto-reading domain skill (read.md)
Content
The skill covers automated reading on weread.qq.com:
Login flow — QR code detection and login completion polling
Progress management — JSON-based reading state persistence (current book, chapter, completion status)
Auto reading — scroll-based chapter navigation with "Next Chapter" detection and "Book Complete" marking
Book selection — fallback to New Book ranking when no unfinished progress exists
Notes
All Chinese DOM selectors (下一章, 全书完, 标记读完, etc.) preserved as-is since they match the actual site text
Python comments and print statements translated to English
Code logic unchanged from the original read_cn.md


Summary by cubic

Adds a WeRead auto-reading domain skill that logs in via QR, resumes or picks a book, and auto-scrolls chapters while saving progress. Enables hands-free reading on weread.qq.com with simple JSON state.

  • New Features
    • Detects QR login and waits until completion.
    • Saves and loads progress in progress.json with current chapter URL.
    • Picks the first book from New Book ranking if no unfinished progress.
    • Auto-scrolls and clicks "下一章" to advance chapters.
    • Detects completion ("全书完"/"标记读完") and marks finished; Chinese selectors kept as-is.

Written for commit 4339d5a. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants