Description
I was looking at WACZ files generated from ReplayWeb.page and noticed that the WARC file under the archive/
folder is always named data.warc.gz
(or data.warc
). It looks like the file name is hard-coded.
Line 78 in 3e5bf49
Would it be practical to add datetime or some other pseudo-unique or unique strings (like a hash or GUID) to the name (e.g., data-YYYYMMDDhhmmss.warc.gz
)? One issue I can see is that if the same data is downloaded multiple times, a new timestamp might be added, making the WACZ file bytes non-reproducible, unless we use some deterministic identifier (like the datetime of the first capture or the hash of the WARC file itself, which might require renaming the file after writing data).
If people were to extract WARC files from more than one WACZ files and place them in a single folder, there is a chance of overwriting due to name collisions.