Commit Graph

16 Commits

Author SHA1 Message Date
John Smith
72841ab46e 优雅地停机 2023-09-06 21:34:04 +08:00
John Smith
fe141bc8fd 升级blivedm 2023-09-03 22:53:15 +08:00
John Smith
00c47a3e55 调整一些头像参数 2023-08-26 16:21:35 +08:00
John Smith
93e374ac12 添加其他头像接口 2023-08-24 23:07:17 +08:00
John Smith
dac531920e 添加通过勋章信息获取头像的接口
# Conflicts:
#	services/avatar.py

# Conflicts:
#	services/avatar.py
2023-08-24 22:29:34 +08:00
John Smith
c3566823c1 获取头像接口封装成类 2023-08-24 21:52:51 +08:00
John Smith
8fa63f1d75 优化一些参数 2023-07-31 23:32:53 +08:00
John Smith
8e7d9b266b 使用LRU缓存、头像优先使用Protobuf协议中的、优化获取头像代码 2023-07-30 22:22:47 +08:00
John Smith
63f541b87e 使用Python 3.8的asyncio特性 2023-07-29 12:48:57 +08:00
John Smith
d5e8054e12 升级SQLAlchemy到2.0.19 2023-07-29 01:07:04 +08:00
John Smith
b98a8f6680 修复cookie导致的获取头像失败 2023-07-06 23:25:07 +08:00
John Smith
914a41700e Squashed commit of the following:
commit 414258724b456628a2e361a11de102dbdc5a2fe4
Author: John Smith <xfgryujk@126.com>
Date:   Tue Jul 4 23:58:59 2023 +0800

    修正代码风格和wbi签名实现

commit 34a6546bd6ac00a893d36a65c20d479b113e3f53
Author: Bryan不可思议 <programripper@foxmail.com>
Date:   Thu Jun 22 15:52:51 2023 +0800

    Update services/avatar.py

    Co-authored-by: Hao Guan <10684225+hguandl@users.noreply.github.com>

commit f9dd56a13c296ff938560bcd161570f000855b35
Author: ProgramRipper <programripper@foxmail.com>
Date:   Tue Jun 13 03:33:15 2023 +0800

    fix: syntax error

commit a0354f2480a7c561e6dcc223fa9d4834310540b5
Author: ProgramRipper <programripper@foxmail.com>
Date:   Tue Jun 13 03:08:55 2023 +0800

    fix: get_avatar_url
2023-07-05 00:04:00 +08:00
John Smith
1f89d0d1cf 添加cookie提高获取头像成功率 2022-10-09 18:53:42 +08:00
John Smith
062e7ed1aa 临时修复获取头像请求被屏蔽的问题 2022-09-28 00:11:29 +08:00
John Smith
2c0dd6e1c9 修复获取头像请求被屏蔽的问题
也修改了其他请求的User-Agent,防止将来被屏蔽
2022-06-18 21:31:25 +08:00
John Smith
e40f1511ed 拆出服务模块 2022-02-15 00:18:46 +08:00