'commit'
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user