tender-scraper-xiaobai
爬取官网招投标采购公告,按日期和类型分组输出,支持商业情报和政府采购信息追踪分析。
Latest: v1.0.0
Initial release of tender-scraper.
- Crawl and collect tender and procurement announcements from https://ygcg.nbcqjy.org.
- Provides both command-line and Python interfaces for data extraction.
- Returns structured data fields: title, url, publish_time, tags, tender_type.
- Includes field and tag explanations for easier data interpretation.
- Supplies recommended Markdown summary format grouped by date and type, with emojis.
招投标采购公告资讯 Skill
数据来源
快速开始
python scripts/crawl.py --limit 30
编程调用
import sys
sys.path.insert(0, "tender-scraper")
from scripts.crawl import crawl_and_return_json
result = crawl_and_return_json(limit=50)
# AI自行处理返回数据
字段说明
| 字段 | 说明 |
|---|---|
| title | 采购公告标题 |
| url | 原文链接 |
| publish_time | 发布日期 |
| tags | 类型标签 |
| tender_type | 公告类型 |
类型标签
根据 infoTypeId 字段:
| 标签 | 说明 |
|---|---|
| 工程 | 工程类 |
| 非工程类货物 | 货物类 |
| 非工程类服务 | 服务类 |
| 工程类货物 | 工程货物类 |
| 工程类服务 | 工程服务类 |
| 中介超市服务 | 中介服务类 |
| 其他 | 其他类型 |
总结输出格式
按日期+类型分组,使用emoji:
📅 2026-03-17 招投标公告 (共15条)
🔷 2026-03-17
🏗️ 工程
• [项目名称](链接)
• [项目名称](链接)
📦 非工程类货物
• [项目名称](链接)
🛠️ 非工程类服务
• [项目名称](链接)
👔 中介超市服务
• [项目名称](链接)
🔧 工程类服务
• [项目名称](链接)
---
🔷 2026-03-16 (共20条)
🏗️ 工程
• [项目名称](链接)
...
