Revert html change
This commit is contained in:
parent
f83d853fec
commit
005993ea94
4
app.py
4
app.py
|
@ -69,8 +69,8 @@ def proxy(video_id):
|
||||||
tag["content"] = thumbnail_url
|
tag["content"] = thumbnail_url
|
||||||
break
|
break
|
||||||
# Fix embed (Niconico doesn't return MP4s)
|
# Fix embed (Niconico doesn't return MP4s)
|
||||||
if tag.get("property") == "og:video:type":
|
# if tag.get("property") == "og:video:type":
|
||||||
tag["content"] = "text/html"
|
# tag["content"] = "text/html"
|
||||||
|
|
||||||
og_tags_str = "\n".join(str(tag) for tag in og_tags)
|
og_tags_str = "\n".join(str(tag) for tag in og_tags)
|
||||||
html_response = f"""
|
html_response = f"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user