Update to remove tophosts output
This commit is contained in:
parent
ae515fb425
commit
8496391064
@ -24,6 +24,8 @@ def run_cdxsummary(file_path, json_filepath):
|
|||||||
del json_output["pathquery"]
|
del json_output["pathquery"]
|
||||||
if "samples" in json_output:
|
if "samples" in json_output:
|
||||||
del json_output["samples"]
|
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
|
# Write the JSON output to a file if it doesn't exist
|
||||||
with open(json_filepath, "w") as json_file:
|
with open(json_filepath, "w") as json_file:
|
||||||
|
Loading…
Reference in New Issue
Block a user