mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-02-07 10:10:19 +08:00
头像不使用webp
This commit is contained in:
parent
1cbaed4127
commit
da242fc853
@ -34,7 +34,7 @@ async def get_avatar_url(user_id):
|
||||
data = await r.json()
|
||||
url = data['data']['face']
|
||||
if not url.endswith('noface.gif'):
|
||||
url += '@24w_24h.webp'
|
||||
url += '@24w_24h'
|
||||
_avatar_url_cache[user_id] = url
|
||||
|
||||
if len(_avatar_url_cache) > 10000:
|
||||
|
Loading…
Reference in New Issue
Block a user