'commit'
This commit is contained in:
@@ -180,7 +180,7 @@ class YiLaiTeCrawler(BaseCrawler):
|
||||
if dqdf_pos:
|
||||
logger.info(f"发现价格入口按钮 (阶段性电价/当前电费) {dqdf_pos},点击进入...")
|
||||
d.click(dqdf_pos[0], dqdf_pos[1])
|
||||
await asyncio.sleep(2) # 等待列表加载
|
||||
await asyncio.sleep(0.5) # 等待列表加载
|
||||
# 删除旧的详情页截图
|
||||
if os.path.exists(detail_shot): os.remove(detail_shot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user