← 返回 Skills 市场
525
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install car-scraper
功能描述
车辆信息采集反爬 Skill - 从大搜车、懂车帝、汽车之家采集二手车/新车数据,输出 OpenClaw 兼容格式。USE FOR: 采集车辆列表、车辆详情、价格行情、商家信息。支持反爬对策: UA轮换、限速退避、Cookie管理、指纹伪装。
使用说明 (SKILL.md)
\r \r
万能反爬 Skill\r
\r
能力\r
\r
- 大搜车采集 (
dasouche_scraper.py): 采集 souche.com 二手车列表和详情\r - 懂车帝采集 (
dongchedi_scraper.py): 采集 dongchedi.com 二手车数据(API + SSR 双模式)\r - 汽车之家采集 (
autohome_scraper.py): 采集 che168.com 二手车数据(含字体反爬处理)\r - OpenClaw 导出 (
openclaw_export.py): 统一格式输出 JSON/JSONL/CSV\r \r
使用方式\r
\r
# 单平台采集\r
from dasouche_scraper import DasoucheScraper\r
scraper = DasoucheScraper()\r
result = scraper.scrape(pages=3)\r
\r
# OpenClaw 导出\r
from openclaw_export import export_scrape_result\r
files = export_scrape_result(result, output_format="json")\r
```\r
\r
## 数据模型\r
\r
所有车辆数据统一为 `VehicleInfo` (见 `data_models.py`),包含:\r
- 品牌/车系/车型/年款\r
- 价格/里程/上牌信息\r
- 发动机/变速箱/驱动/排放等技术参数\r
- 图片/商家/车况描述\r
\r
## 反爬配置\r
\r
编辑 `config.py` 调整请求间隔、代理池、目标页数等参数。\r
安全使用建议
This skill appears to be what it claims (a multi-site car-data scraper with anti-detection features). Before installing/run it: 1) Be aware it will perform outbound HTTP(S) requests to the target sites and may be used to circumvent anti-scraping measures (UA rotation, header fingerprinting, cookie handling, proxy support). Ensure you have the legal right and comply with the target sites' terms of service and local laws. 2) Run in a controlled environment (sandbox or isolated VM) if you're unsure, since the skill will write output files (config.py creates an output/ and openclaw/ directory inside the package). 3) Inspect and sanitize config.py before use — remove or review any proxy entries (they may contain credentials) and set acceptable rate limits to avoid causing harm. 4) Monitor network activity and logs during initial runs. 5) If you need to avoid evasion capabilities, remove/disable anti_detect features (UA rotation, fingerprinting) so behavior is conservative and transparent.
功能分析
Type: OpenClaw Skill
Name: car-scraper
Version: 1.0.0
The skill bundle is a legitimate and well-structured car information scraping framework targeting major Chinese automotive platforms (Dasouche, Dongchedi, and Autohome). It implements standard scraping techniques, including User-Agent rotation, rate limiting with backoff strategies, and cookie management within 'anti_detect.py' to handle anti-scraping measures. The scrapers in 'dasouche_scraper.py', 'dongchedi_scraper.py', and 'autohome_scraper.py' focus on extracting public vehicle data and exporting it to structured formats (JSON/CSV) via 'openclaw_export.py'. No evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力评估
Purpose & Capability
Name/description (car data scraping from 大搜车/懂车帝/汽车之家) match the provided Python modules and SKILL.md. The scrapers, data model, and OpenClaw export code correspond to the stated capabilities.
Instruction Scope
SKILL.md instructs the agent to import scrapers and export functions only (no broad file reads). The code will perform network requests to target sites, manage cookies, rotate UAs, use rate limiting and optionally proxies. One side-effect: config.py creates output directories at import time (os.makedirs on package path). The anti-detection logic explicitly aims to evade site protections — functionally coherent but worth noting for policy/ethical review.
Install Mechanism
No install spec; this is instruction + code files only. Dependencies appear to be standard Python libs (requests, bs4) referenced in requirements.txt — no unknown remote download or extract steps detected.
Credentials
The skill does not request environment variables, credentials, or external config paths. It contains an (empty) proxy list and configurable headers in config.py; no secrets are required by default. If you add proxies with credentials, that would raise additional risk.
Persistence & Privilege
always:false and no code that attempts to modify other skills or global agent configuration. The only persistent filesystem action is creating output directories within the package path and writing scraped output (OpenClaw exports), which is expected for this purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install car-scraper - 安装完成后,直接呼叫该 Skill 的名称或使用
/car-scraper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
car-scraper v1.0.0
- Initial release with support for scraping used/new car data from Dasouche, Dongchedi, and Autohome.
- Provides anti-crawling strategies: user-agent rotation, rate limiting, cookie management, and fingerprint spoofing.
- Outputs data in OpenClaw-compatible formats (JSON, JSONL, CSV) with a unified VehicleInfo data model.
- Allows configuration of scraping behavior (delays, proxy pool, target pages) via config file.
元数据
常见问题
Car Scraper 是什么?
车辆信息采集反爬 Skill - 从大搜车、懂车帝、汽车之家采集二手车/新车数据,输出 OpenClaw 兼容格式。USE FOR: 采集车辆列表、车辆详情、价格行情、商家信息。支持反爬对策: UA轮换、限速退避、Cookie管理、指纹伪装。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 525 次。
如何安装 Car Scraper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install car-scraper」即可一键安装,无需额外配置。
Car Scraper 是免费的吗?
是的,Car Scraper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Car Scraper 支持哪些平台?
Car Scraper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Car Scraper?
由 Strue(@jackiezhao-eng)开发并维护,当前版本 v1.0.0。
推荐 Skills