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