feat(nodeseek): add NodeSeek adapter#1995
Open
dengshu2 wants to merge 1 commit into
Open
Conversation
97a61a3 to
2a261a2
Compare
NodeSeek (www.nodeseek.com) is a Chinese VPS / hosting / geek community. It is a Vue SSR app behind Cloudflare, so content is read off the rendered DOM and a few JSON endpoints are fetched from the authenticated page context. Commands: - latest / categories — public RSS (rss.nodeseek.com), no login or browser - login / whoami — pjwt cookie + window.__config__.user - me — full self profile - user <id> — GET /api/account/getInfo/<id> - notifications — GET /api/notification/at-me/list - post <id> — thread body + comment floors (li.content-item) - search <query> — full-text post search Shared browser helpers live in client.js. Pure parsing/mapping logic is unit-tested incl. pagination/auth/error-path func tests (37 tests); `opencli validate nodeseek` passes with 0 warnings. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2a261a2 to
0293c74
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds a NodeSeek (
www.nodeseek.com) adapter — a Chinese community for VPS / hosting / server and geek topics.NodeSeek is a Vue SSR app behind Cloudflare: page content (posts, comments, search results, profiles) is server-rendered into the HTML and read off the DOM, while a few JSON endpoints are fetched from within the authenticated page context. The logged-in identity is injected as
window.__config__.user;pjwtis the session cookie.Related issue: none
Commands (9)
latest [--category --limit]rss.nodeseek.com(no login / no browser)categorieslogin/whoamipjwtcookie +window.__config__.usermewindow.__config__.useruser <id>GET /api/account/getInfo/<id>notifications [--unread]GET /api/notification/at-me/listpost <id> [--page --full]li.content-item)search <query>latest/categoriesneed no login or browser via the open RSS mirror.postcaptures the full comment thread, not just the first post.Type of Change
Checklist
Documentation
docs/adapters/(browser/nodeseek.md)docs/adapters/index.mdtabledocs/.vitepress/config.mtsid,query)CliErrorsubclasses (ArgumentError,AuthRequiredError,EmptyResultError,CommandExecutionError)Screenshots / Output
Gates
npx tsc --noEmit→ cleannpx vitest run --project adapter→ all green (incl. 19 new nodeseek tests)opencli validate nodeseek→ PASS, 0 errors, 0 warningscheck-silent-column-drop/check-typed-error-lint→ no new violationscheck-doc-coverage --strict→ all adapters documentednpm run build-manifest→ +9 nodeseek entries, 0 removalsEvery command was verified against a live logged-in session.