Skip to content

Support screenshot defaults in multi - #217

Open
Muguett-DBY wants to merge 1 commit into
simonw:mainfrom
Muguett-DBY:enh/multi-screenshot-defaults
Open

Muguett-DBY wants to merge 1 commit into
simonw:mainfrom
Muguett-DBY:enh/multi-screenshot-defaults

Conversation

@Muguett-DBY

@Muguett-DBY Muguett-DBY commented Nov 20, 2026 •

Copy link
Copy Markdown

shot-scraper multi now accepts --width, --height, and --quality as defaults for YAML entries. A value set on an individual entry takes precedence, including 0 and null.

Quality follows the same rules as shot: it selects JPEG unless WebP is selected, and quality: null lets an individual PNG entry opt out. The docs include separate examples for dimensions and quality.

The image-format and utility suites passed locally on Windows (71 tests). The new Chromium test checks the generated dimensions and formats, and the CLI rejects quality values outside 0–100 before opening the browser. The Cog documentation check passed.

Refs #98. This covers the three options in the original request.

Developed and tested with Codex assistance.


📚 Documentation preview 📚: https://shot-scraper--217.org.readthedocs.build/en/217/

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant