This commit is contained in:
HuangHai
2026-01-16 19:34:02 +08:00
parent 78f116ab84
commit f087fac666
8 changed files with 7 additions and 7 deletions

View File

@@ -192,7 +192,7 @@ class YiLaiTeCrawler(BaseCrawler):
before_scroll_md5 = get_image_content_md5(before_scroll_path)
d.swipe_ext("up", scale=0.8)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
after_scroll_path = take_screenshot(d, f"scroll_dn_after_{i}")
after_scroll_md5 = get_image_content_md5(after_scroll_path)
@@ -215,7 +215,7 @@ class YiLaiTeCrawler(BaseCrawler):
# 检查是否还能向上滚动
before_up_md5 = get_image_content_md5(p_shot)
d.swipe_ext("down", scale=0.85)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
# 检查是否还有新内容
check_up_shot = take_screenshot(d, f"check_up_{p_idx}")