SingleFile CLI 2.1.2
Command-line fixes
- Fixed case variants of options being silently ignored, e.g.
--compress-html falseor--include-bom(option names are now canonicalized when parsing) - Fixed
--settings-file-profilebeing ignored - Fixed settings files overriding options passed explicitly on the command line
- Fixed
--http-headervalues containing "=" being truncated, e.g. base64 credentials - Fixed the error thrown when passing
--http-headervalues without "=" - A missing URL, unknown options and invalid option values are now reported as explicit errors with a non-zero exit code (#183)
--helpnow also works when using--urls-file
URLs file fixes
- Fixed single character option values being dropped, e.g.
--crawl-max-depth 2 - Fixed blank lines being captured as pages
- Fixed duplicate URLs being captured multiple times
- Unknown or invalid options in URLs files are now reported as warnings
Capture fixes
- Fixed
--browser-load-max-timeand--browser-capture-max-timenot interrupting captures of hanging pages or downloads, which could run forever (#134) - Fixed parallel captures overwriting each other when resolving identical filenames (files are now created exclusively)
- Error messages are now included in the file set with
--errors-file(#136) - The error displayed when the browser executable cannot be found now includes the path and suggests
--browser-executable-path
Co-authored by Claude (Claude Code)