shot-scraper is a command-line utility for taking automated screenshots of web pages using a headless browser engine. After installation, a single command can capture a full-page screenshot of a URL and save it to a file, making it ideal for documentation, monitoring, and visual regression tasks. Under the hood it uses a modern browser (installed via a one-time shot-scraper install step) and exposes options for viewport size, full-page versus clipped screenshots, and device emulation. Beyond simple captures, it can run custom JavaScript before taking the shot, allowing you to open menus, scroll, or manipulate the DOM so the screenshot reflects the desired state. The project is deeply integrated with automation workflows: examples show it running in scheduled jobs, GitHub Actions, and bots that publish screenshots to social media or use them in docs. It ships with detailed documentation, a tutorial, and a template repository that lets you spin up an automated screenshot pipeline.

Features

  • CLI for automated webpage screenshots using a headless browser backend
  • Simple default command to capture a URL into a PNG file with sensible naming
  • Options for viewport size, full-page capture, clipping regions and device emulation
  • Ability to execute custom JavaScript before capturing to open menus or adjust page state
  • First-class support for GitHub Actions and other CI environments via a starter template
  • Comprehensive docs, examples and Apache-2.0 licensed code for easy integration

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow shot-scraper

shot-scraper Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of shot-scraper!

Additional Project Details

Programming Language

Python

Related Categories

Python Command Line Tools

Registered

5 hours ago