Skip to content

Commit

Permalink
fix: add host to image_link
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerallin committed Aug 7, 2024
1 parent f3edb25 commit 881f253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mikanani/mikan.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]):
if tag == "span":
# 封面图片链接
if (image_link := attributes.get("data-src")) is not None:
self._bangumi.image_link = image_link
self._bangumi.image_link = MIKAN_HOST + image_link
# 是否已订阅
self._bangumi.subscribed = attributes.get("data-showsubscribed") == "true"
# bangumi id, 如果是数字才记录
Expand Down

0 comments on commit 881f253

Please sign in to comment.