Updated bug in code for previous change
This commit is contained in:
parent
43d55a27fd
commit
d3d110789a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user