def time(text, loader_context):
    cformat = loader_context.get('time')
    try:
        time = datetime.datetime.strptime(text, cformat)
    except __HOLE__:
        loader_context.get('spider').log('Time could not be parsed ("{t}", Format string: "{f}")!'.format(t=text, f=cformat), logging.ERROR)
        return None
    return time.strftime('%H:%M:%S')
dataset/ETHPy150Open holgerd77/django-dynamic-scraper/dynamic_scraper/utils/processors.py/time