import requests import joblib from due.cache import cache from flask import request import math def anime_to_html(releasing_outdated_anime): current_html = "", len(titles)) def manga_to_html(releasing_outdated_manga): current_html = ["") return ("".join(current_html), len(titles)) def page(main_content, footer): message = '
Slow loads? If your media hasn\'t been cached in a while, the first load will take a couple seconds longer than the rest. Subsequent requests on cached media should be faster. Hide forever
' if request.cookies.get("hide_message") == "1": message = "" return f""" 期限

期限

{main_content}


{footer}

{message} """