Polish project documentation and runtime config

This commit is contained in:
xuelong committed 2026-06-09 10:22:59 +08:00
1 parent 5f061295d8
commit 0594fc9f8c
43 files changed
+1001 -97

No files matched your search

+3 -1
View File
@@ -11,6 +11,7 @@ from __future__ import annotations
import importlib.util
import os
from pathlib import Path
from typing import Any
import requests
@@ -18,7 +19,8 @@ import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
_CRAWL_PATH = "/Users/xuexue/PycharmProjects/PythonProject/xuexue-CityGraph/crawl_guiyan.py"
_PROJECT_ROOT = Path(__file__).resolve().parents[2]
_CRAWL_PATH = os.getenv("GAODE_CRAWLER_PATH", str(_PROJECT_ROOT / "scripts" / "crawl_guiyan.py"))
_mod: Any = None
# 高德官方一级 POI 类型编码(按 type code 网格扫描,不靠热度关键词)