mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-08 04:55:51 +08:00
🐛 修复gs活动列表
This commit is contained in:
parent
72355c876a
commit
5e1a6c3ff6
@ -36,7 +36,7 @@ async def get_month_and_time(time_data: str) -> List:
|
||||
if '永久开放' in time_data:
|
||||
month = time_data[:5]
|
||||
time = '永久开放'
|
||||
if '更新后' in time_data or '版本' in time_data:
|
||||
if '更新后' in time_data or '版本' in time_data or '版更' in time_data:
|
||||
month = time_data[:5]
|
||||
time = '更新后'
|
||||
else:
|
||||
@ -92,7 +92,12 @@ class DrawEventList:
|
||||
r'(</span></p><p><span>|</t>)',
|
||||
desc,
|
||||
)
|
||||
if desc_content:
|
||||
if (
|
||||
desc_content
|
||||
and desc_content[0]
|
||||
and len(desc_content[0]) > 2
|
||||
and desc_content[0][2]
|
||||
):
|
||||
start_time = desc_content[0][2]
|
||||
|
||||
event_data['full_name'] = event_list[event]['nameFull']['CHS']
|
||||
|
Loading…
x
Reference in New Issue
Block a user