2026-10-02 用真实账号各抓一次列表页与用户页(只读)核对: - OurBits:标题列嵌套 table.torrentname 有 5 个 td,td:nth-child(n) 先命中嵌套格子, 大小全为 0、发布时间 N/A;改为只匹配行的直接子单元格。副标题原取成标签块,改为标签之后的正文; 新增标签与列表页 IMDb / 豆瓣 ID(label.imdb_rate / douban_rate 的 data 属性) - 彩虹岛:font.subtitle 去掉前面的 div.tag 与末尾徽标,标签单独取 - 憨憨:新增列表标签(span.tag,不含促销) - 纯数字 IMDb ID 补成 tt + 7 位(imdbIdOf) - 用户页核对:下载量为 0 是站点实际显示(VIP),解析正确;上传量四站与页面一致 - 脱敏样例 sites-2026.ts + 定义测试;差分登记 23 条有意偏离(新增 labels、OurBits 副标题) Co-Authored-By: Claude Opus 5.5 <[email protected]>
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"$comment": "HHClub 分类名取自 MovieClaw hhanclub.yaml 注释(导航栏分类表);REQ §4.5 要求综艺/体育/短剧保留原始分类。2026-09-29 真实账号核对:列表标题链接里带站点的新种标记「[新]」(详情页标题没有),用 replace 过滤掉;等级「贵宾」为 VIP;访问默认按低频原则收紧(快照只抓第 1 页、健康检测 6 小时、详情缓存 24 小时、搜索并发 1)。 2026-10-02 真实列表页核对:标签在 torrent-title 里的 span.tag(促销是 promotion-tag,不混入)。",
|
|
"umt": {
|
|
"categoryNames": {
|
|
"401": "电影",
|
|
"402": "电视剧",
|
|
"403": "综艺",
|
|
"404": "纪录片",
|
|
"405": "动漫",
|
|
"407": "体育",
|
|
"409": "其他",
|
|
"410": "音乐",
|
|
"411": "MV",
|
|
"412": "短剧"
|
|
},
|
|
"version": "[email protected]+umt.1",
|
|
"rateLimit": {
|
|
"minIntervalMs": 3000,
|
|
"burst": 2
|
|
},
|
|
"vipLevels": ["贵宾", "VIP"],
|
|
"defaults": {
|
|
"snapshotIntervalSec": 3600,
|
|
"snapshotMaxPages": 1,
|
|
"healthCheckIntervalSec": 21600,
|
|
"userDataIntervalSec": 21600,
|
|
"searchConcurrency": 1,
|
|
"detailCacheSec": 86400
|
|
},
|
|
"detail": {
|
|
"page": {
|
|
"labelSelectors": ["div.font-bold.leading-6", "span.font-bold"],
|
|
"fileListPath": "viewfilelist.php?id={id}"
|
|
}
|
|
}
|
|
},
|
|
"torrents": {
|
|
"fields": {
|
|
"title": {
|
|
"text": "{% if fields['title_optional'] %}{{ fields['title_optional'] }}{% else %}{{ fields['title_default'] }}{% endif %}",
|
|
"filters": [
|
|
{
|
|
"name": "replace",
|
|
"args": ["[新]", ""]
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"args": ["(新)", ""]
|
|
}
|
|
]
|
|
},
|
|
"labels": {
|
|
"selector": "div.torrent-title span.tag"
|
|
}
|
|
}
|
|
}
|
|
}
|