shot-scraper 1.9

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Developers who scrape or audit web pages can now dump every resource a page loads with one command, making digital forensics on sites reproducible.

Read this as

Simon Willison released version 1.9 of shot-scraper, a free command-line tool that takes screenshots of websites and scrapes them using JavaScript. The new 'har -x' option saves every file a web page loads, images, scripts, data, into a folder for inspection. He demonstrated it by reproducing an investigation into why programmer Rob Pike received spam emails. The other change fixes the accessibility command to work with the latest Playwright browser library.

shot-scraper 1.9 is a minor release of Willison's open-source scraping tool, but the new 'shot-scraper har --extract' command has real audit value: one command now captures every resource a page loads, as Willison showed by replicating his forensic investigation of a spam incident targeting Rob Pike. Teams doing compliance checks, competitive research or security analysis get a faster workflow at no cost, since the tool is free.

shot-scraper 1.9 adds an '-x/--extract' flag to the 'shot-scraper har' command, writing all resources from the page's HTTP Archive (HAR) to files in a directory controlled by '-o dir/'. The release also fixes 'shot-scraper accessibility' for compatibility with the latest Playwright (issues #184 and #185). Example usage: 'shot-scraper har --wait 10000 https://theaidigest.org/village?day=265 -x' produces a JSON resource tree for analysis.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

shot-scraper 1.9 Playwright Rob Pike Simon Willison theaidigest.org simonwillison.net

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading