From 8496391064f88ff0bc7db8028cabbd2bea473cb8 Mon Sep 17 00:00:00 2001 From: datechnoman Date: Tue, 26 Dec 2023 11:59:44 +0000 Subject: [PATCH] Update to remove tophosts output --- mediafire_cdxprocessor.py | 2 ++ 1 file changed, 2 insertions(+) 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: