Update pastebin_automated_cdx_processor.py
This commit is contained in:
parent
261fcfafda
commit
05fd72705e
@ -114,7 +114,7 @@ def run_ia_command():
|
|||||||
two_days_before = (datetime.now() - timedelta(days=1)).strftime("%Y-%m-%d")
|
two_days_before = (datetime.now() - timedelta(days=1)).strftime("%Y-%m-%d")
|
||||||
|
|
||||||
# Replace archiveteam_telegram with archiveteam_pastebin and add date range
|
# 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 for ia search results
|
||||||
output_file = os.path.join(ROOT_DIRECTORY, "ia_search_results.txt")
|
output_file = os.path.join(ROOT_DIRECTORY, "ia_search_results.txt")
|
||||||
|
Loading…
Reference in New Issue
Block a user