Expand description
Optional remote download.
Compiled only with the remote feature (default). Reuses the exact same
detect() / transcode() pipeline as the local path — only the source of
raw_bytes changes. Downloaded content is treated as untrusted text:
strict decoding rejects malformed byte sequences, no shell is executed,
no recursive link following.
Functions§
- derive_
output_ path - Derive the output path from the URL when
--outputis omitted: - fetch_
bytes - Fetch
url, capped bymax_size, streaming the body to a temp file.