From 05fd72705e0d1301b1ca2e9982682cf64ebe68b6 Mon Sep 17 00:00:00 2001 From: datechnoman Date: Wed, 10 Jan 2024 00:44:01 +0000 Subject: [PATCH] Update pastebin_automated_cdx_processor.py --- pastebin_automated_cdx_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastebin_automated_cdx_processor.py b/pastebin_automated_cdx_processor.py index 72856d8..875c53f 100644 --- a/pastebin_automated_cdx_processor.py +++ b/pastebin_automated_cdx_processor.py @@ -114,7 +114,7 @@ def run_ia_command(): two_days_before = (datetime.now() - timedelta(days=1)).strftime("%Y-%m-%d") # Replace archiveteam_telegram with archiveteam_pastebin and add date range - ia_search_command = f"ia search 'collection:archiveteam_pastebin addeddate:[{two_days_before} TO {current_date}]' --itemlist" + ia_search_command = f"/usr/local/bin/ia search 'collection:archiveteam_pastebin addeddate:[{two_days_before} TO {current_date}]' --itemlist" # Output file for ia search results output_file = os.path.join(ROOT_DIRECTORY, "ia_search_results.txt")