Revert html change

This commit is contained in:
MMaker 2025-01-31 18:48:21 -05:00
parent f83d853fec
commit 005993ea94
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2

4
app.py
View File

@ -69,8 +69,8 @@ def proxy(video_id):
tag["content"] = thumbnail_url
break
# Fix embed (Niconico doesn't return MP4s)
if tag.get("property") == "og:video:type":
tag["content"] = "text/html"
# if tag.get("property") == "og:video:type":
# tag["content"] = "text/html"
og_tags_str = "\n".join(str(tag) for tag in og_tags)
html_response = f"""