Skip to content
Search

ScrapeServ

lastmod 2025-02-10created 2025-02-101 edits

A self-hosted API that takes a URL and returns a file with browser screenshots.

An API server that turns a given URL into screenshots

Features

  • Run the API server on your local machine and send a URL; you get the site data as a file, along with screenshots of several parts of the site
  • Scrolls the page and takes screenshots of multiple sections
  • Runs as a Docker container and uses Playwright to launch a Firefox browser, so resource consumption is somewhat high
  • Jobs are processed through a queue, and HTTP headers, 302 redirects, and download links are handled properly
  • Blocking API

Alternatives

Taking a screenshot from the command line in Chrome:

chrome --headless --screenshot="path/to/save/screenshot.png" --disable-gpu --window-size=1280,720 "https://www.example.com";

Firefox version:

firefox -screenshot file.png https://example.com --window-size=1280,720

Type screenshot --help in the Firefox developer console to see the various options.

If you don't want to deal with maintenance work, use the alternatives below

Similar projects:

See also

Favorite site

author Zer0 sitemap