Skip to content

Commit 2ea90d4

Browse files
Fix SERP download, add debug logging
1 parent 986c483 commit 2ea90d4

File tree

1 file changed

+3
-0
lines changed
  • archive_query_log/downloaders

1 file changed

+3
-0
lines changed

archive_query_log/downloaders/warc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ def _clear() -> None:
240240

241241
path = warc_store.cache_dir_path / cache_record.location.key
242242

243+
if last_path is not None and last_path != path:
244+
print(f"Read WARC cache file: {path}")
245+
243246
yield _WithClearCallback(record, _clear)
244247

245248
if last_path is not None and last_path != path:

0 commit comments

Comments
 (0)