Really cool to have this pywb tool for creating archives programatically...
Currently I'm trying to use pywb to create a single wacz record that corresponds to a given URL. However it seems right now to create warc.gz files which correspond to an entire archiving session.
My ideal flow:
- Make a GET request to a local running
pywb server
- Receive a single
wacz file that corresponds that to that URL
So far I have go tthis working:
uv run wb-manager init test-cli-archive
uv run wayback --record --live -a --auto-interval 10
curl http://localhost:8080/test-cli-archive/record/<MY URL>
This then gives me this file:
collections/test-cli-archive/archive/rec-20260123155603209431-<machine id>.warc.gz
But this is a warc.gz file of everything in this archiving session, when in reality I just want a single wacz that corresponds to the URL I just archived.
Is there a way to achieve this workflow?
Really cool to have this
pywbtool for creating archives programatically...Currently I'm trying to use
pywbto create a singlewaczrecord that corresponds to a given URL. However it seems right now to createwarc.gzfiles which correspond to an entire archiving session.My ideal flow:
pywbserverwaczfile that corresponds that to that URLSo far I have go tthis working:
This then gives me this file:
But this is a
warc.gzfile of everything in this archiving session, when in reality I just want a singlewaczthat corresponds to the URL I just archived.Is there a way to achieve this workflow?