mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
failed attempt at making images load on android-discord
This commit is contained in:
parent
48a6789d36
commit
b15a4ef79f
|
@ -4841,9 +4841,8 @@ class HttpCli(object):
|
|||
}
|
||||
elif is_pic:
|
||||
title = str(vn.flags.get("og_title_i") or "")
|
||||
ogh["og:type"] = "website"
|
||||
ogh["twitter:card"] = "photo"
|
||||
ogh["twitter:image:src"] = ogh["og:image"] = j2a["og_raw"]
|
||||
ogh["twitter:card"] = "summary_large_image"
|
||||
ogh["twitter:image"] = ogh["og:image"] = j2a["og_raw"]
|
||||
|
||||
try:
|
||||
for k, v in file["tags"].items():
|
||||
|
|
Loading…
Reference in a new issue