This commit is contained in:
HuangHai
2026-01-16 19:44:58 +08:00
parent f087fac666
commit 95a96e2f0e
6 changed files with 16 additions and 7 deletions

View File

@@ -188,6 +188,10 @@ class TeLaiDianCrawler(BaseCrawler):
break
name = station.get("name")
status_text = station.get("status_text") or ""
if station.get("is_closed") is True or ("歇业中" in status_text):
logger.info(f"列表标记为歇业中,跳过场站: {name}")
continue
point = station.get("point")
if not name or not point: