Releases: simonw/shot-scraper
Releases · simonw/shot-scraper
1.0
- New
shot-scraper html URLcommand (documented here) for outputting the final HTML of a page, after JavaScript has been executed. #96 shot-scraper javascripthas a new-r/--rawoption for outputting the result of the JavaScript expression as a raw string rather than JSON encoded (shot-scraper javascript documentation). #95- Tutorial: Automating screenshots for the Datasette documentation using shot-scraper.
0.17
0.16
0.15.1
0.15
- New --log-requests option for logging out newline-delimited JSON showing all requests made while rendering a page, including image and asset loads. #88
- New shot-scraper pdf formatting options:
--format,--width,--height,--scaleand--print-background. Thanks, Eddie Chapman. #87 - Removed
-hshortcut for help - use--helpinstead.-hwas clashing with the shorter version of--height. Thanks, Matthew Bafford. #84
0.14.3
0.14.2
- Documentation improvements. 0.14.1...0.14.2
0.14.1
0.14
- Documentation is now hosted at shot-scraper.datasette.io and has been expanded to multiple pages. #73
shot-scraper $URL --wait-for EXPRESSIONcan be used to take the screenshot only once the provided JavaScript expression returnstrue. See Waiting until a specific condition. #72- The
wait_for:key in the YAML format used byshot-scraper multiprovides equivalent functionality for scripted multiple screenshots. - New documentation on Using shot-scraper with GitHub Actions. #74
- New example: Extracting page content with Readability.js