danbooru: populate categories in get_post (latent bug fix)

This commit is contained in:
pax 2026-04-09 19:13:52 -05:00
parent 8f298e51fc
commit 9001808951

View File

@ -89,6 +89,7 @@ class DanbooruClient(BooruClient):
width=item.get("image_width", 0), width=item.get("image_width", 0),
height=item.get("image_height", 0), height=item.get("image_height", 0),
created_at=_parse_date(item.get("created_at")), created_at=_parse_date(item.get("created_at")),
tag_categories=self._extract_tag_categories(item),
) )
async def autocomplete(self, query: str, limit: int = 10) -> list[str]: async def autocomplete(self, query: str, limit: int = 10) -> list[str]: