Commit 64a8352
Changed files (1)
src
preview
src/preview/bilibili.py
@@ -67,9 +67,9 @@ async def preview_bilibili(
if author := post_info.get("author"):
msg += f"\n๐
ฑ๏ธ{author}"
- if dt := post_info["dt"]:
+ if dt := post_info.get("dt"):
msg += f"\n๐{dt}"
- if title := post_info["title"]:
+ if title := post_info.get("title"):
msg += f"\n๐[{title}]({url})"
if texts := post_info.get("texts"):