Shot-scraper is a command-line tool for taking automated screenshots of websites and scraping data using JavaScript. It uses Playwright under the hood. Current version is 1.9.1, released irregularly.
pip install shot-scraperVerified import paths — ran on the pinned version, not inferred.
Install shot-scraper and Playwright browsers, then take a screenshot of a URL.
Use subprocess.run(['shot-scraper', ...]) or run directly in the terminal.
Run 'shot-scraper install' to download browsers (e.g., Chromium).
Upgrade Python to 3.10+ or use an older version of shot-scraper.