sharedParams to keep useful content and remove navigation, footers, or repeated blocks. Filters affect HTML, Markdown, images, parsed fields, highlights, and JSON.
Keep the article
Send this body toPOST /web/scrape. See the Quickstart for authentication and SDK setup.
Options
Selector lists contain 1–50 unique selectors, each up to 2,048 characters. Use CSS; XPath is unsupported. For a gallery, set
includeSelectors to its container and request images.
Which outputs change
Screenshots, original bytes, product extraction, and metadata headings use the page independently of these filters. Screenshots show visible frames even whenincludeFrames is false.
If a selector matches nothing, the output can succeed with an empty string or list. Inspect the page’s HTML and adjust the selector before retrying. Parse fields rules run on the filtered HTML.