Update mediafire_automated_cdx_processor.py

This commit is contained in:
datechnoman 2024-01-10 00:31:54 +00:00
parent d3d110789a
commit 0c062e7326

View File

@ -15,7 +15,7 @@ BATCH_SIZE = 10
# Function to run cdxsummary command # Function to run cdxsummary command
def run_cdxsummary(file_path, json_filepath): def run_cdxsummary(file_path, json_filepath):
# Construct the cdxsummary command # Construct the cdxsummary command
cdxsummary_command = f"cdxsummary --json {file_path}" cdxsummary_command = f"/usr/local/bin/cdxsummary --json {file_path}"
try: try:
# Run the cdxsummary command and capture the output # Run the cdxsummary command and capture the output