Install
openclaw skills install car-specs-crawlerFetch car specifications from Chinese automotive websites (懂车帝 dongchedi.com and 汽车之家 autohome.com.cn). Use when the user needs to collect vehicle configuration data such as price, dimensions, battery capacity, range, seating layout, or top speed. Triggers on requests like "crawl car specs", "fetch vehicle parameters", "get car configuration", "爬取汽车配置", "获取车型参数", or when building car comparison PPTs/reports that need real-time data from auto websites.
openclaw skills install car-specs-crawlerThis skill provides a Python script that crawls car specifications from major Chinese automotive websites (懂车帝, 汽车之家). It searches by car model name, extracts key parameters, and outputs them as JSON or markdown tables for use in comparison reports, PPTs, or spreadsheets.
The crawler extracts these common fields when available:
python3 scripts/fetch-car-specs.py "小米YU7 Pro"
python3 scripts/fetch-car-specs.py "华为问界M7 纯电" "小米YU7 Pro" "特斯拉Model Y"
python3 scripts/fetch-car-specs.py "小米YU7 Pro" --format json
# Only 懂车帝
python3 scripts/fetch-car-specs.py "小米YU7 Pro" --source dongchedi
# Only 汽车之家
python3 scripts/fetch-car-specs.py "小米YU7 Pro" --source autohome
python3 scripts/fetch-car-specs.py "小米YU7 Pro" --format json --output specs.json
When building a car comparison PPT or report:
Run the crawler for each car model:
python3 scripts/fetch-car-specs.py "车型A" "车型B" --format table
Parse the markdown table output and feed it into the report/PPT builder.
Cross-check with official websites if critical specs are missing — the crawler falls back between sources automatically.
requests + lxml (standard packages, usually pre-installed).scripts/fetch-car-specs.pyThe main crawler script. Run directly with car model names as arguments.
references/xpath-patterns.md (optional)If the target sites change their HTML structure, update the XPath selectors in this reference file, then patch the script accordingly.