update @ Thu Dec 26 05:26:36 EET 2024

Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
Arija A. 2024-12-26 05:26:36 +02:00
parent fc7d545e87
commit f6005d20da
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -1606,11 +1606,6 @@ def rss(config: dict[str, typing.Any]) -> int:
if m["type"] != "image":
continue
thm = etree.SubElement(item, "media:thumbnail")
thm.set("url", url)
thm.set("width", str(m["width"]))
thm.set("height", str(m["height"]))
enc = etree.SubElement(item, "enclosure")
enc.set("url", url)
enc.set("type", m["mime"])