import html import datetime page: str = ''' Files

Files

''' index: str = f''' {page}
Uploading…
''' def download(href: str, filename: str, expires: str) -> str: expires_in = datetime.datetime.strptime(expires, '%Y-%m-%d %H:%M:%S') - datetime.datetime.now() return f''' {page}
{html.escape(filename)}
Expires in {expires_in}
''' not_found: str = f''' {page} Oops, not found! '''