scripts/scraper.py
def update_log(file_name):
    """Updates the log file with the file name and the current timestamp.

    Parameters
    ----------
    file_name : str
        The name of the file.

    """

    with open("./log.txt", "a", encoding="utf-8") as temp_file:
        now = datetime.now() - timedelta(hours=DELTA_HOURS)
        temp_file.write("{},{}\n".format(file_name, now))
Updates the log file with the file name and the current timestamp.

    Parameters
    ----------
    file_name : str
        The name of the file.

    
Updates the log file with the file name and the current timestamp.
Parameters

file_name : str
The name of the file.
Updates the log file with the file name and the current timestamp . Parameters file_name : str The name of the file .
def update_log(file_name):
    with open("./log.txt", "a", encoding="utf-8") as temp_file:
        now = datetime.now() - timedelta(hours=DELTA_HOURS)
        temp_file.write("{},{}\n".format(file_name, now))
def update_log ( file_name ) : with open ( "./log.txt" , "a" , encoding = "utf-8" ) as temp_file : now = datetime . now ( ) - timedelta ( hours = DELTA_HOURS ) temp_file . write ( "{},{}\n" . format ( file_name , now ) )
Updates the log file with the file name and the current timestamp.
Updates the log file with the file name and the current timestamp .
"""Updates the log file with the file name and the current timestamp.

    Parameters
    ----------
    file_name : str
        The name of the file.

    """
file_name