CustomJS (PDF & File Toolkit) icon

CustomJS (PDF & File Toolkit)

All-in-one toolkit for PDF, HTML, JSON and file conversions

Web → Scrape

AI-generated

Summary

Scrapes a website and returns either its raw HTML as JSON text or a PNG screenshot as binary data.

Inputs

  • Website URL (required) — URL of the website to scrape.
  • Return Type — Choose Raw HTML (default) or Screenshot (PNG).
  • Debug Mode — Boolean passed to the scraper; defaults to true.
  • Output Filename — When returning a screenshot, sets the binary file name; defaults to output.png.

Output shape

One output item per input item.

Raw HTML is returned in json.output as a string. Screenshot mode returns PNG data in the binary.data property and preserves the input item's JSON. If the screenshot response is empty, the item is returned without binary data.

Links

Discussion