From d3d110789a8d0e4bf956f86d37f0176a6f08007b Mon Sep 17 00:00:00 2001 From: datechnoman Date: Tue, 9 Jan 2024 22:48:26 +0000 Subject: [PATCH] Updated bug in code for previous change --- mediafire_automated_cdx_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediafire_automated_cdx_processor.py b/mediafire_automated_cdx_processor.py index 10b5a91..9c61baa 100644 --- a/mediafire_automated_cdx_processor.py +++ b/mediafire_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_mediafire and add date range - ia_search_command = "/usr/local/bin/ia search 'collection:archiveteam_mediafire addeddate:[{two_days_before} TO {current_date}]' --itemlist" + ia_search_command = f"/usr/local/bin/ia search 'collection:archiveteam_mediafire 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")