diff --git a/mediafire_cdxprocessor.py b/mediafire_cdxprocessor.py index a75acf7..dd23444 100644 --- a/mediafire_cdxprocessor.py +++ b/mediafire_cdxprocessor.py @@ -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: