Skip to content

Commit

Permalink
Store WACZ entires with store mode in ZIP file
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley van Lee committed Dec 23, 2024
1 parent 903433d commit 60cd1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_webarchive/wacz/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def create_wacz_zip(self) -> io.BytesIO:

zip_buffer = io.BytesIO()

with zipfile.ZipFile(zip_buffer, "w", zipfile.ZIP_DEFLATED, allowZip64=True) as zip_file:
with zipfile.ZipFile(zip_buffer, "w", zipfile.ZIP_STORED, allowZip64=True) as zip_file:
self.write_to_zip(zip_file, self.cdxj_fname, INDEXES_DIR)
self.write_to_zip(zip_file, self.warc_fname, ARCHIVE_DIR)
self.write_datapackage(zip_file)
Expand Down

0 comments on commit 60cd1c0

Please sign in to comment.