Release: shot-scraper 1.11
Upgrade shot‑scraper to 1.11, adjust scripts to use `--js-file` and `--timeout`, and allow up to 30s server start delay.
Upgrade shot‑scraper to 1.11, adjust scripts to use `--js-file` and `--timeout`, and allow up to 30s server start delay.
Summary
shot‑scraper 1.11 introduces several command‑line improvements. The `server:` processes now wait up to 30 seconds for the target URL to accept connections, replacing the previous one‑second delay.
A new `--js-file` option is added to the `shot-scraper`, `pdf`, `html`, `accessibility`, and `har` commands, allowing JavaScript to be loaded from a local file, stdin, or a GitHub script. The `shot-scraper multi` command now supports the equivalent `js_file:` YAML key.
Additionally, the `shot-scraper javascript` and `shot-scraper html` commands now include a `--timeout` option for consistency with other commands. These changes improve reliability and consistency across the toolset.
Key changes
- `server:` processes now wait up to 30s for URL to accept connections
- `--js-file` option added to multiple commands
- `js_file:` YAML key supported in shot‑scraper multi
- `--timeout` option added to shot‑scraper javascript and html
- Consistent command option behavior across tools