'commit'
This commit is contained in:
Binary file not shown.
@@ -5,6 +5,7 @@ import uuid
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
from datetime import datetime
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
# 将项目根目录添加到 sys.path
|
# 将项目根目录添加到 sys.path
|
||||||
@@ -276,6 +277,9 @@ async def get_station_list(d, service, max_stations_count=MAX_STATIONS_COUNT):
|
|||||||
elif check_detail_md5 == before_click_md5:
|
elif check_detail_md5 == before_click_md5:
|
||||||
logger.info("检测到返回详情页,需执行第二次返回。")
|
logger.info("检测到返回详情页,需执行第二次返回。")
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
logger.error(f"处理三级页面详情异常 ({station_name}): {e}")
|
||||||
|
|
||||||
# 从二级页面返回列表页
|
# 从二级页面返回列表页
|
||||||
if should_back_to_list:
|
if should_back_to_list:
|
||||||
d.press("back")
|
d.press("back")
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user