umi-robots
收藏资源简介:
umi-robots 是 umi 项目(一个开放的网络爬虫)的一部分,以 Parquet 格式发布。该数据集记录了每次对网站 robots.txt 文件的抓取结果,每行对应一次抓取,包含以下字段:host(主机名,无协议)、fetched_at_ms(Unix 毫秒时间戳)、status(HTTP 状态码,404 表示无文件,0 表示未收到响应)、body(原始文件内容,仅当状态为 2xx 时非空)、groups(User-agent 组数)、rules(适用于爬虫的规则数)、crawl_delay_ms(Crawl-delay 值,毫秒)、allows_us(是否允许根路径,1 或 0)、sitemaps(Sitemap 列表)、content_usage(AIPREF Content-Usage 值)。数据集的制作遵循 RFC 9309,爬虫标识为 umi,每行按抓取完成顺序写入。数据文件约 128 MB,每天一个文件夹。数据集许可证为 CC0。使用前需阅读并应用排除列表(位于 open-index/umi-meta 仓库)。数据集中存在少量重复行(约 0.46% 的重复),可通过按 host 分组取最新 fetched_at_ms 来处理。零状态码表示未收到响应,而非站点无 robots.txt。该数据集适用于研究网站爬虫策略、分析 robots.txt 分布、规划爬取等任务。
umi-robots is part of the umi project (an open web crawler), published in Parquet format. The dataset records the results of each crawl of a websites robots.txt file, with each row corresponding to one crawl, containing the following fields: host (hostname without protocol), fetched_at_ms (Unix timestamp in milliseconds), status (HTTP status code, 404 indicates no file, 0 indicates no response received), body (raw file content, non-empty only when status is 2xx), groups (number of User-agent groups), rules (number of rules applicable to the crawler), crawl_delay_ms (Crawl-delay value in milliseconds), allows_us (whether the root path is allowed, 1 or 0), sitemaps (list of Sitemaps), content_usage (AIPREF Content-Usage value). The dataset is built following RFC 9309, with the crawler identifier as umi, and rows are written in the order of crawl completion. Each data file is approximately 128 MB, with one folder per day. The dataset is licensed under CC0. Before use, the exclusion list (located in the open-index/umi-meta repository) must be read and applied. There is a small number of duplicate rows (about 0.46% duplicates), which can be handled by grouping by host and taking the latest fetched_at_ms. A status code of 0 indicates no response was received, not that the site lacks robots.txt. This dataset is suitable for studying web crawler strategies, analyzing robots.txt distribution, planning crawling, etc.
umi-robots 数据集概述
基本信息
- 许可证: CC0-1.0(公有领域贡献)
- 所属项目: umi 开放网络爬虫项目的一部分
- 格式: Parquet 文件,约 128 MB/文件,按天目录组织
- 用途: 记录各个网站对爬虫的 robots.txt 响应历史
数据内容
该数据集每行对应一次 robots.txt 获取记录,包含以下字段:
| 字段 | 类型 | 可空 | 含义 |
|---|---|---|---|
host |
string | 否 | 主机名(不含协议) |
fetched_at_ms |
uint64 | 否 | 请求时间(Unix 毫秒) |
status |
uint16 | 否 | 服务器响应状态码(404 表示该站点无 robots.txt;0 表示未收到任何响应) |
body |
string | 是 | robots.txt 原始内容(仅在状态码为 2xx 时非空) |
groups |
uint32 | 否 | 文件中 User-agent 分组数量 |
rules |
uint32 | 否 | 适用于我们的分组中的规则数 |
crawl_delay_ms |
uint32 | 是 | 适用的 Crawl-delay 值(毫秒) |
allows_us |
uint8 | 否 | 根路径是否允许 umi 爬虫(1 或 0) |
sitemaps |
list<string> | 否 | 文件中所有 Sitemap 行(按顺序) |
content_usage |
string | 是 | AIPREF Content-Usage 值(原文) |
重要使用说明
-
必须阅读排除列表: 使用数据前,必须先查阅
open-index/umi-meta中的排除列表并过滤相关行,这是使用数据的条件而非建议。 -
状态码 0 的含义: 约 40% 的行状态为 0,这表示完全未收到响应(DNS 解析失败、连接被拒绝等),不代表站点没有 robots.txt。此类行中
allows_us为 0 是 umi 自身规则(RFC 9309 规定无法读取的 robots.txt 视为禁止),并非站点拒绝。 -
数据时效性: robots.txt 快照仅在 24 小时内有效(遵循 RFC 9309),每条记录反映的是获取时的状态,不能作为当前的爬取许可。
-
重复主机: 同一主机可能出现多次,截至 2026-09-06 统计有 26,987,785 行对应 26,863,085 个不同主机,约 0.46% 行是重复记录。建议按
fetched_at_ms降序取每个主机最新记录。
数据创建方式
- 由 umi 爬虫(版本 umi/0.0.1)在 RFC 9309 规范下获取
- 行按获取完成顺序写入,
fetched_at_ms的统计信息可用于分区过滤 - umi 项目不训练模型,不运行用户代理,不转售数据,旨在构建公开开放许可的网络索引
数据修正机制
- 已发布文件不会被重写(保证校验和稳定性)
- 修正通过
open-index/umi-meta仓库中的追加排除列表实现 - 每天目录包含清单文件及 Ed25519 签名,可用于验证文件完整性
联系方式
- 删除请求: 发送邮件至 tamnd87@gmail.com,提供 URL 或主机名即可快速处理
- 机器人页面: https://umi.dev/bot




