Build and manage scrapers
Define an account-owned scraper, its input and output contracts, and immutable versions.
Build an account-owned scraper
The Builder stores the customer-facing scraper identity separately from its
immutable versions. Define its name, description, category, and tags, then add
a version containing:
- extraction and target configuration;
- an input schema for guided form and JSON entry;
- an output schema describing the resulting records.
Creating a later version does not rewrite earlier versions used by existing
tasks and runs. Test a version through the same Hub run endpoint used by
Raspbytes-managed scrapers before making it the basis of a scheduled workflow.
Customer revisions may include bounded declarative extractor.reveals for
same-page See more, modal, or drawer content. Reveals use CSS or XPath
selectors and require render_js: true; they never accept customer JavaScript.
The trigger is record-relative, the content is record- or document-scoped, and
revealed fields merge into the same output record. See
Build a declarative scraper for the complete
contract and example.
New scrapers begin with private visibility and appear in the owner's Hub beside
Raspbytes-managed scrapers. Visibility describes access; it does not create a
different scraper type. Sharing grants another account permission to use the
same scraper and can be revoked. Publishing makes an eligible scraper generally
available through Hub.
Understand ownership and visibility
| Field or state | Meaning |
|---|---|
ownership: mine | The authenticated account owns and can manage the scraper. |
ownership: raspbytes | Raspbytes manages the scraper; customers can use it but cannot change or republish it. |
visibility: private | Only the owner can discover and use the scraper. This is the initial state. |
visibility: shared | The owner has granted specific accounts use access. |
visibility: unlisted | The scraper is excluded from general discovery; access remains explicitly controlled. |
visibility: public | The scraper is published for general Hub availability. |
status: active | The scraper has an active version and can be used when execution is available. |
status: archived | The scraper remains in history but cannot start new runs. |
The use sharing role allows the recipient to run the scraper. It does not
allow the recipient to edit its definition, create versions, change sharing, or
publish it.
Define guided input options
Each declared input can choose a presentation type:
| Input type | Customer experience |
|---|---|
string | Short single-line text. |
text | Longer multi-line text. |
search | Search-oriented text entry. |
number | Numeric entry with optional minimum and maximum. |
boolean | A true or false choice. |
Use options when only specific values are accepted, and provide a clear label
and description for each choice. Inputs can be inserted into a URL path or
sent as a query parameter. Apply path_transform: slug only when the target
expects a URL-safe slug rather than the original value.
Updated 4 days ago

