mirror of
https://github.com/9001/copyparty.git
synced 2026-02-19 11:54:58 -05:00
failed attempt at making images load on android-discord
This commit is contained in:
@@ -4841,9 +4841,8 @@ class HttpCli(object):
|
|||||||
}
|
}
|
||||||
elif is_pic:
|
elif is_pic:
|
||||||
title = str(vn.flags.get("og_title_i") or "")
|
title = str(vn.flags.get("og_title_i") or "")
|
||||||
ogh["og:type"] = "website"
|
ogh["twitter:card"] = "summary_large_image"
|
||||||
ogh["twitter:card"] = "photo"
|
ogh["twitter:image"] = ogh["og:image"] = j2a["og_raw"]
|
||||||
ogh["twitter:image:src"] = ogh["og:image"] = j2a["og_raw"]
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
for k, v in file["tags"].items():
|
for k, v in file["tags"].items():
|
||||||
|
|||||||
Reference in New Issue
Block a user