🐛 change kemono url

This commit is contained in:
xtaodada 2023-11-06 22:31:20 +08:00
parent 81b72d488a
commit 673852e25e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -24,7 +24,7 @@ class User(BaseModel):
@property
def kemono_url(self) -> str:
return f"https://kemono.party/fanbox/user/{self.user.userId}"
return f"https://kemono.su/fanbox/user/{self.user.userId}"
@property
def name(self) -> str:
@ -58,7 +58,7 @@ class Post(BaseModel):
@property
def kemono_url(self) -> str:
return f"https://kemono.party/fanbox/user/{self.user.userId}/post/{self.id}"
return f"https://kemono.su/fanbox/user/{self.user.userId}/post/{self.id}"
@property
def user_url(self) -> str: