diff --git a/plugins/draw_card/handles/ba_handle.py b/plugins/draw_card/handles/ba_handle.py index 5fe00462..658bb2df 100644 --- a/plugins/draw_card/handles/ba_handle.py +++ b/plugins/draw_card/handles/ba_handle.py @@ -113,7 +113,7 @@ class BaHandle(BaseHandle[BaChar]): async def _update_info(self): info = {} - url = "https://lonqie.github.io/SchaleDB/data/cn/students.min.json?v=49" + url = "https://schale.gg/data/cn/students.min.json?v=49" result = (await AsyncHttpx.get(url)).json() if not result: logger.warning(f"更新 {self.game_name_cn} 出错") @@ -122,10 +122,11 @@ class BaHandle(BaseHandle[BaChar]): for char in result: try: name = char["Name"] + id = str(char["Id"]) avatar = ( - "https://github.com/lonqie/SchaleDB/raw/main/images/student/icon/" - + char["CollectionTexture"] - + ".png" + "https://github.com/SchaleDB/SchaleDB/raw/main/images/student/icon/" + + id + + ".webp" ) star = char["StarGrade"] except IndexError: