SnapRender icon

SnapRender

Capture website screenshots as PNG, JPEG, WebP, or PDF

Extract Content

AI-generated

Summary

Extract specified content from a given web page URL, returning it in formats like Markdown, plain text, HTML, article, links, or metadata.

Inputs

  • URL (required) — The URL of the website to extract content from.
  • Extraction Type (required) — The format of content to extract: Markdown, Plain Text, HTML, Article, Links, or Metadata.
  • Extract Options — Optional parameters to refine extraction: a CSS selector to limit the scope, options to block ads and cookie banners (default true), delay in milliseconds after page load (0–10000), and maximum content length in characters (1–500000).

Output shape

a single JSON object containing the extracted content as per the specified extraction type

The node sends a POST request to SnapRender's /v1/extract endpoint with the given parameters and returns the JSON response. Extraction is scoped if a CSS selector is provided, and ads/cookie banners can be optionally blocked. Delay allows waiting after page load before extraction. Max length limits the returned content size.

Links

Discussion