--crawl-media-sources
- CLI
- --crawl-media-sources
Fetches the source of every <audio> and <video> on each page. An HLS or live source yields only its manifest. Raises the per-page timeout to 120 seconds unless --crawl-page-timeout sets one. Requires WARC or WACZ output.
Example
zshot -f winnie-the-pooh.wacz \
--crawl-links \
--crawl-media-sources \
https://zshot-cli.com/example_assets/winnie-the-pooh/{
"url": "https://zshot-cli.com/example_assets/winnie-the-pooh/",
"output_type": "wacz",
"crawl_links": true,
"crawl_media_sources": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/winnie-the-pooh/","output_type":"wacz","crawl_links":true,"crawl_media_sources":true}' \
-o winnie-the-pooh.wacz