Update to remove tophosts output

This commit is contained in:
datechnoman 2023-12-26 11:59:44 +00:00
parent ae515fb425
commit 8496391064

View File

@ -24,6 +24,8 @@ def run_cdxsummary(file_path, json_filepath):
del json_output["pathquery"]
if "samples" in json_output:
del json_output["samples"]
if "tophosts" in json_output:
del json_output["tophosts"]
# Write the JSON output to a file if it doesn't exist
with open(json_filepath, "w") as json_file: