Update imgur_automated_cdx_processor.py
This commit is contained in:
parent
05fd72705e
commit
d6d8721c1b
@ -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_imgur and add date range
|
# Replace archiveteam_telegram with archiveteam_imgur and add date range
|
||||||
ia_search_command = f"ia search 'collection:archiveteam_imgur addeddate:[{two_days_before} TO {current_date}]' --itemlist"
|
ia_search_command = f"/usr/local/bin/ia search 'collection:archiveteam_imgur 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