返回 Skill 列表
extension
分类: 数据与分析无需 API Key

shot-scraper 自动化网站截图和刮取 CLI

shot-scraper 是 Simon Willison 开发的 Python 命令行工具,用于对网站进行自动化截图并针对页面执行 JavaScript。该工具基于 Playwright 构建,支持无头浏览器自动化、通过 YAML 定义的多步骤截图工作流,以及适用于 CI 流水线和监控的 HTML 到图像渲染功能。

person作者: user_3c6cb52ehubcommunity

shot-scraper 自动化网站截图和刮取 CLI

shot-scraper is a Python CLI tool by Simon Willison for taking automated screenshots of websites and executing JavaScript against pages. Built on Playwright, it supports headless browser automation, multi-step screenshot workflows defined in YAML, and HTML-to-image rendering for CI pipelines and monitoring.

Installation

Use the upstream install or setup path that matches your environment:

  • pip install shot-scraper

Basic usage or getting-started notes:

  • The shot-scraper-demo repository uses this tool to capture recently spotted owls in El Granada, CA according to this page, and...

  • Source: https://github.com/1991513ccie-png/skills

  • Extracted from upstream docs: https://raw.githubusercontent.com/simonw/shot-scraper/HEAD/README.md