9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
1.2 KiB
1.2 KiB
schema_version, page_id, url_patterns, purpose, last_verified, source
| schema_version | page_id | url_patterns | purpose | last_verified | source | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1.1 | feed |
|
paginated list of stories sharing front-page DOM structure (newest / best / show / ask / jobs) | 2026-06-02 | global |
Visual anchors
- pattern: 跟 front.md 完全同结构(
tr.athing+ sibling subtext row) - text: 顶部 nav 高亮当前 tab (new/best/ask/show/jobs)
- selector_pattern: 同 front.md(id-anchored / sibling / attribute boundary)
Actions on this page
action:open_story_detail in pages/front.md action:next_page in pages/front.md
(DOM 结构与 front.md 完全一致,action 通过 reference 复用,不复制定义)
Linked APIs
按 URL 路由不同 endpoint:
- /newest → endpoint_id: newstories
- /best → endpoint_id: beststories
- /ask → endpoint_id: askstories
- /show → endpoint_id: showstories
- /jobs → endpoint_id: jobstories
Page-specific pitfalls
- 跨 feed 类型用同 DOM,但 API endpoint 不同 — adapter
opencli hackernews <feed>已封装路由,DOM scrape 只看 URL 不看页面差异