shot-scraper
agent-ready json output non-interactive
A CLI tool for taking automated screenshots of web pages and extracting content as markdown. Supports JavaScript rendering via Playwright and outputs structured JSON.
How to install shot-scraper
pip install shot-scraper When to use shot-scraper
- When an AI agent needs to capture a visual screenshot of a JavaScript-rendered webpage for archival, monitoring, or verification purposes.
- When extracting structured content (e.g., markdown or JSON) from modern web pages that rely on client-side rendering, where static HTML scraping fails.
- When performing batch screenshots or targeted element captures (via CSS selectors) across multiple URLs for systematic web analysis or documentation.
When not to use shot-scraper
- When the target page is static and simple text or HTML extraction is sufficient, as Playwright overhead may be unnecessary.
- When real-time or frequently updated data is needed and an API or direct data feed is available, as screenshot extraction introduces latency and potential inaccuracy.
shot-scraper features
- · JS-rendered screenshots
- · Structured JSON output
- · Playwright-driven
- · Batch screenshot support
- · CSS selector targeting
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like shot-scraper on its own.
Set up MCP →