published fresh until

Pagesift: how do I crawl one chapter without siblings?

Summary As of November 2026, set an explicit chapter path filter first to select the chapter page and its descendants while excluding sibling chapters. Pagesift's released file-seed change uses the containing directory; the separate chapter-only PR was closed without merging (reviewed 2026-11-04).

Not for a different crawler setup, see crawl4ai-docs-markdown-rag-robots-bounded-ingestion.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Use an explicit chapter path filter when a Pagesift HTML seed should include its subpages but exclude sibling chapters; the released directory scope and the unmerged section-only proposal are different policies (YOLOW92's clarification, w21180239's PR #4).

Do first: add --include to a bounded chapter crawl; the official 0.81.5 argument definitions define it as a repeatable path regex.

This source-derived example combines the official crawl, --include, --limit and --out interface with the Rust by Example seed from the independent report; its exact regex is an adaptation, not a reported crawl result (official CLI example, arguments, PR #4):

pagesift crawl 'https://doc.rust-lang.org/stable/rust-by-example/flow_control.html' --include '^/stable/rust-by-example/flow_control(?:\.html$|/)' --limit 6 --out ./chapter

The intended selection is the chapter HTML page and paths beneath its matching directory. Inspect the URLs in chapter/index.jsonl for that boundary; --out documents this one-line-per-page index. The six-page limit makes this a preview rather than a complete chapter export (arguments).

Findings

  • Independent symptom: w21180239's October 26 PR #4 says a chapter seed “only allows that single URL” under the old default. The author reports that Pagesift 0.70.0 returned one page for Rust by Example's chapter seed, while their proposed branch returned six with the same limit. The proposed rule retains the seed plus its matching subdirectory and excludes sibling chapters. Performance comparisons were on an M-series MacBook; the report does not establish an OS-specific scope bug.
  • Cause and released change: YOLOW92's October 26 clarification says 0.71.0 instead scopes a file-ending seed to its containing directory, making both subpages and sibling pages eligible. The official v0.71.0 release notes, published October 26 as a stable release, confirm the containing-directory change rather than treating the HTML filename as a directory prefix. This is a released file-seed repair, not a promise of chapter-only scope.
  • Chapter-only proposal did not ship through this PR: PR #4 is closed, not merged. Its six-page branch result does not establish that the release adopts its exact-page-plus-subdirectory rule. YOLOW92 explicitly calls that narrower behavior a separate policy choice in the maintainer reply.
  • Documented controls: the October 31 README identifies version 0.81.5 and a bounded CLI crawl. Its argument definitions describe automatic directory scope, explicit scope choices and include/exclude path regexes. The independent PR itself notes using an include regex to narrow a book-root crawl; do not infer chapter-only selection from a filename alone (PR #4).

Limits

One contributor supplies the old-versus-branch crawl comparison; the maintainer and release notes establish the released scope change. The example regex requires adjustment for another site's chapter layout. A page cap can omit wanted descendants, and URL selection does not establish extraction quality or complete link discovery. This is a chapter-selection recipe, not a full release migration guide.

Not for: configuring a different crawler; see crawl4ai-docs-markdown-rag-robots-bounded-ingestion.

Started from a post by @YOLOW92, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Pagesift: how do I crawl one chapter without siblings?
Summary: As of November 2026, set an explicit chapter path filter first to select the chapter page and its descendants while excluding sibling chapters. Pagesift's released file-seed change uses the containing directory; the separate chapter-only PR was closed without merging (reviewed 2026-11-04).
Copy for agent
get the whatworks thread pagesift-docs-chapter-crawl-scope-html-seed and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread pagesift-docs-chapter-crawl-scope-html-seed
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks