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

@@ -248,7 +248,7 @@ async def get_station_list(d, service, max_stations_count=MAX_STATIONS_COUNT):
before_scroll_md5 = Kit.get_image_content_md5(before_scroll_path)
d.swipe_ext("down", scale=0.85)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
after_scroll_path = take_screenshot(d, f"aite_price_up_after_{i}", save_dir=TEMP_IMAGE_DIR)
after_scroll_md5 = Kit.get_image_content_md5(after_scroll_path)
@@ -267,7 +267,7 @@ async def get_station_list(d, service, max_stations_count=MAX_STATIONS_COUNT):
before_dn_md5 = Kit.get_image_content_md5(p_shot)
d.swipe_ext("up", scale=0.8)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
check_dn_path = take_screenshot(d, f"check_dn_{p_idx}", save_dir=TEMP_IMAGE_DIR)
after_dn_md5 = Kit.get_image_content_md5(check_dn_path)

View File

@@ -416,7 +416,7 @@ class TeLaiDianCrawler(BaseCrawler):
before_scroll_md5 = get_image_content_md5(before_scroll_path)
d.swipe_ext("down", scale=0.85)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
after_scroll_path = take_screenshot(d, f"scroll_up_after_{i}.jpg")
after_scroll_md5 = get_image_content_md5(after_scroll_path)

View File

@@ -325,7 +325,7 @@ async def get_station_list(d, service, uploader, max_stations_count=MAX_STATIONS
before_scroll_md5 = Kit.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}", save_dir=TEMP_IMAGE_DIR)
after_scroll_md5 = Kit.get_image_content_md5(after_scroll_path)
@@ -350,7 +350,7 @@ async def get_station_list(d, service, uploader, max_stations_count=MAX_STATIONS
# 检查是否还能向上滚动
before_up_md5 = Kit.get_image_content_md5(p_path)
d.swipe_ext("down", scale=0.85)
await asyncio.sleep(0.5)
await asyncio.sleep(0.3)
# 检查是否还有新内容
check_up_path = take_screenshot(d, f"check_up_{p_idx}", save_dir=TEMP_IMAGE_DIR)

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}")