Commit Graph

37 Commits

Author SHA1 Message Date
luoshuijs
468ed22a26
Mask sensitive information in player id 2023-08-26 18:19:00 +08:00
omg-xtao
5e18290f9a
Handle All PlayerNotFoundError, CookiesNotFoundError 2023-08-21 22:42:44 +08:00
luoshuijs
c1012d206b
Use SIMNet and Remove genshin.py
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-07-18 17:29:31 +08:00
洛水居室
eed418477f
♻️ Rename HTML templates to use .jinja2 extension
Previously, all templates were named with the .html extension, which caused problems for editors to recognize the Jinja2 syntax used in them. In this commit, all templates have been renamed to use the .jinja2 extension to better reflect their use of Jinja2 and to improve editor recognition.
2023-05-09 19:19:32 +08:00
Karako
4e6b16d2ae
🐛 Fix avatar_list
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:27:49 +08:00
Karako
ff0f20618b
🐛 Fix avatar_list command matching
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:22:40 +08:00
Karako
c83406e996
🐛 Fix avatar_list command matching issue
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:10:28 +08:00
洛水居室
007ef28d0b
🐛 Fix KeyError caused by improper parameter type for character star level retrieval 2023-04-28 14:51:31 +08:00
洛水居室
3ec8b96c02
🐛 Fix the issue of name_card being replaced when it is not None 2023-04-28 14:42:19 +08:00
洛水居室
9e23c1d20d
🐛 Fix the KeyError exception caused by the character rarity not found 2023-04-28 14:34:54 +08:00
洛水居室
85178d34ae
🎨 Update get_final_data 2023-04-28 09:29:16 +08:00
LittleMengBot
72154924be
Update /play_card placeholder image
Update current player showcase after updating character list.
Use asynchronous locks to make file read/write thread-safe.
Update `EnkaNetworkCache`.

---------

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2023-03-17 13:33:29 +08:00
洛水居室
233e7ab58d
♻️ PaiGram V4
Co-authored-by: luoshuijs <luoshuijs@outlook.com>
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-03-14 09:27:22 +08:00
5945d7451e
⬆️ Upgrade EnkaNetwork 2023-02-19 14:20:34 +08:00
洛水居室
2cf4b7e55d
🐛 Fix Bug Due to enkanetwork.py Code Update
5b344f609f
eaab479b8b
2023-02-08 22:56:25 +08:00
洛水居室
98db3fe755
🎨 Update Handle InvalidCookies Exception 2023-01-07 15:27:00 +08:00
Nahida
b0300134cb
🐛 Fix avatar_list: AttributeError: 'NoneType' object has no attribute 'avatar'
The list of `Character` may contain `None`
2023-01-06 15:45:22 +08:00
Nahida
7013a61f49
🎨 Adjust Sort Rules in avatar_list.py 2023-01-05 15:06:59 +08:00
omg-xtao
3419088c89
🐛 Fix Avatar List Get name_card 2023-01-05 13:29:33 +08:00
洛水居室
6371db3b5e
Use Redis to Cache EnkaNetwork Data 2022-12-27 21:56:12 +08:00
洛水居室
f5f8735e88
🎨 Better Exception-Handling for AvatarListPlugin.get_final_data 2022-12-27 20:42:56 +08:00
洛水居室
6552606cc7
🎨 Improve code quality 2022-12-25 21:26:08 +08:00
洛水居室
e5ab9d71ca
🐛 Fix Field Does Not Exist
--
reason:
[EnkaNetwork](7a1a1489e5)
2022-12-25 20:51:30 +08:00
洛水居室
3de0f8beb5
🎨 Update Handle InvalidCookies Exception 2022-12-23 21:35:26 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
洛水居室
762c9bc907
🐛 Fix plugin not handling notice correctly in InvalidCookies exception 2022-11-17 16:35:00 +08:00
SiHuaN
514d1bf3b0
🔧 avatar_list: optimize retry code 2022-10-28 11:53:59 +08:00
SiHuan
3e4cd1db1c
🐛 fix avatar 2022-10-27 21:16:48 +08:00
omg-xtao
bf90ca55f9
🎨 优化报错提醒 2022-10-22 21:54:04 +08:00
Chuangbo Li
f122e21092
增加 html to image 的缓存
* 增加 html to image 缓存
* 对 template_service.render 进行封装,管理缓存逻辑
* cache key 为 html 的 sha256
* cache value 为 reply_photo 后 telegram 返回的 file_id
* 存入 redis,并设置合理的 ttl

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-22 15:03:59 +08:00
Karako
e524a1b8bb
️ 提升 avatars-list 的性能
并发获取角色详情

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-21 23:52:59 +08:00
洛水居室
aafcb424a9
🎨 设置 avatar_list 函数为非堵塞调用 2022-10-18 14:47:40 +08:00
omg-xtao
adec83108a
🐛 avatar 修复错误 2022-10-17 14:27:37 +08:00
Karako
cfbbfe91fb
🐛 修复未向养成计算器授权时出现的错误
🐛 修复读取名片时错误

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 22:00:28 +08:00
Karako
cf7012bed0
🐛 当解析旅行者数据错误时、跳过旅行者
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 20:57:35 +08:00
3b1a46837d
🐛 练度统计对旅行者特殊判断 2022-10-16 19:39:42 +08:00
Karako
b27f8af9a4
角色练度查询 2022-10-16 18:11:04 +08:00