Update pastebin_automated_cdx_processor.py

This commit is contained in:
datechnoman 2024-01-10 00:44:01 +00:00
parent 261fcfafda
commit 05fd72705e

View File

@ -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")