diff --git a/src/nabit/lib/backends/url.py b/src/nabit/lib/backends/url.py index f6d00e8..2007f46 100644 --- a/src/nabit/lib/backends/url.py +++ b/src/nabit/lib/backends/url.py @@ -58,7 +58,7 @@ def _collect(self, files_dir: Path) -> None: """ warc_path = files_dir.parent / 'headers.warc' with open(warc_path, 'ab') as fh: - warc_writer = FileWriter(fh, warc_path, gzip=False) + warc_writer = FileWriter(fh, warc_path, gzip=False, content_type_overrides=self.content_type_overrides) with capture_http(warc_writer): warc_writer.custom_out_path = self.output requests.get(self.url, timeout=self.timeout)