563 lines
106 KiB
HTML
563 lines
106 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Spider 校验 HTML 报告</title>
|
|
<style>
|
|
:root {
|
|
color-scheme: light;
|
|
--bg: #eef3f1;
|
|
--panel: #ffffff;
|
|
--text: #102027;
|
|
--muted: #57707d;
|
|
--accent: #0f766e;
|
|
--accent-soft: #d7f3ee;
|
|
--danger: #b42318;
|
|
--danger-soft: #fde7e4;
|
|
--border: #d8e3df;
|
|
--shadow: 0 16px 40px rgba(16, 32, 39, 0.08);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%),
|
|
linear-gradient(180deg, #f7faf9 0%, var(--bg) 100%);
|
|
color: var(--text);
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.page {
|
|
width: min(1600px, calc(100vw - 32px));
|
|
margin: 0 auto;
|
|
padding: 24px 0 40px;
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
gap: 18px;
|
|
margin-bottom: 18px;
|
|
padding: 24px;
|
|
border: 1px solid rgba(15, 118, 110, 0.16);
|
|
border-radius: 20px;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 245, 241, 0.96));
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: clamp(30px, 5vw, 42px);
|
|
line-height: 1.05;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.hero p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.summary-card {
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.84);
|
|
}
|
|
|
|
.summary-card span {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.summary-card strong {
|
|
font-size: 24px;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.panel {
|
|
margin-top: 18px;
|
|
padding: 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 20px;
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.panel h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.filters {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.filter {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.filter label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.filter input,
|
|
.filter select,
|
|
.filter button {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
color: var(--text);
|
|
font: inherit;
|
|
}
|
|
|
|
.filter button {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border-color: var(--accent);
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filter button:hover {
|
|
filter: brightness(0.97);
|
|
}
|
|
|
|
#summary-line {
|
|
margin: 14px 0 0;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
min-width: 1300px;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
}
|
|
|
|
thead {
|
|
background: #f4faf8;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
vertical-align: top;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
}
|
|
|
|
td {
|
|
line-height: 1.45;
|
|
word-break: break-word;
|
|
}
|
|
|
|
th button {
|
|
all: unset;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
th button .sort-indicator {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status.success {
|
|
color: var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.status.failed {
|
|
color: var(--danger);
|
|
background: var(--danger-soft);
|
|
}
|
|
|
|
.empty {
|
|
padding: 28px 14px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page {
|
|
width: min(100vw - 20px, 1600px);
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.hero,
|
|
.panel {
|
|
padding: 16px;
|
|
border-radius: 16px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page">
|
|
<section class="hero">
|
|
<div>
|
|
<h1>Spider 校验 HTML 报告</h1>
|
|
<p>本地静态报告,支持前端即时筛选与表头排序。</p>
|
|
</div>
|
|
<div class="summary-grid">
|
|
<div class="summary-card"><span>生成时间</span><strong id="generated-at"></strong></div>
|
|
<div class="summary-card"><span>并发线程</span><strong id="max-workers"></strong></div>
|
|
<div class="summary-card"><span>总数</span><strong id="total-count"></strong></div>
|
|
<div class="summary-card"><span>成功</span><strong id="success-count"></strong></div>
|
|
<div class="summary-card"><span>失败</span><strong id="failed-count"></strong></div>
|
|
<div class="summary-card"><span>总耗时</span><strong id="total-duration"></strong></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h2>筛选</h2>
|
|
<div class="filters">
|
|
<div class="filter">
|
|
<label for="status-filter">状态</label>
|
|
<select id="status-filter"></select>
|
|
</div>
|
|
<div class="filter">
|
|
<label for="stage-filter">失败阶段</label>
|
|
<select id="stage-filter"></select>
|
|
</div>
|
|
<div class="filter">
|
|
<label for="keyword-filter">爬虫名 / 文件名关键字</label>
|
|
<input id="keyword-filter" type="search" placeholder="例如 alpha / 4K指南" />
|
|
</div>
|
|
<div class="filter">
|
|
<label for="duration-min-filter">最小耗时(ms)</label>
|
|
<input id="duration-min-filter" type="number" min="0" />
|
|
</div>
|
|
<div class="filter">
|
|
<label for="duration-max-filter">最大耗时(ms)</label>
|
|
<input id="duration-max-filter" type="number" min="0" />
|
|
</div>
|
|
<div class="filter">
|
|
<label for="reset-filters">操作</label>
|
|
<button id="reset-filters" type="button">重置筛选</button>
|
|
</div>
|
|
</div>
|
|
<p id="summary-line">当前显示 0 / 0 条</p>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h2>明细结果</h2>
|
|
<div class="table-wrap">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th><button type="button" data-sort-key="spider">爬虫 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="status">状态 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="failed_stage">失败阶段 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="total">总耗时 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="module_load">模块加载 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="init">初始化 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="home">首页分类 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="category">分类列表 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="detail">视频详情 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="player">播放地址 <span class="sort-indicator"></span></button></th>
|
|
<th><button type="button" data-sort-key="url_check">地址校验 <span class="sort-indicator"></span></button></th>
|
|
<th>返回地址</th>
|
|
<th>错误信息</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="results-body"></tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script>
|
|
const report = {"generated_at": "2026-05-17T14:09:59+08:00", "max_workers": 16, "total_duration_ms": 21155.665, "summary": {"total": 77, "success": 62, "failed": 15, "success_rate": 0.8052, "stage_failures": {"module_load": 0, "init": 0, "home": 1, "category": 5, "detail": 1, "player": 0, "url_check": 2, "unexpected": 6}}, "results": [{"spider": "4K指南", "file": "4K指南.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 545.432, "init": 0.005, "home": 0.005, "category": 2504.496, "detail": 833.045, "player": 0.012, "url_check": 142.821, "total": 4127.094}, "counts": {"classes": 5, "category_videos": 50, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zuixin", "vod_id": "18385", "flag": "夸克网盘4k原盘", "play_id": "push://https://pan.quark.cn/s/386badc811b3"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/386badc811b3", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/386badc811b3", "reason": null}}, {"spider": "6V磁力", "file": "6V磁力.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 525.026, "init": 0.017, "home": 0.006, "category": 690.811, "detail": 671.305, "player": 0.009, "url_check": 0.214, "total": 1936.467}, "counts": {"classes": 12, "category_videos": 18, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "dianshiju/guoju", "vod_id": "/dianshiju/guoju/28754.html", "flag": "01-07.1080p.HD国语中字无水印.mkv", "play_id": "magnet:?xt=urn:btih:179e2e96aecc2ff52e16b81e3b3c1e89a6010b05&dn=%E4%B8%BB%E8%A7%9201-07"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:179e2e96aecc2ff52e16b81e3b3c1e89a6010b05&dn=%E4%B8%BB%E8%A7%9201-07", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:179e2e96aecc2ff52e16b81e3b3c1e89a6010b05&dn=%E4%B8%BB%E8%A7%9201-07", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "AAZ音乐", "file": "AAZ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 545.914, "init": 0.004, "home": 207.193, "category": 198.002, "detail": 196.967, "player": 167.29, "url_check": 323.822, "total": 1729.765}, "counts": {"classes": 6, "category_videos": 60, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "new", "vod_id": "song:e0f3c77fa564632f924f77fc5943ba7e", "flag": "AAZ音乐", "play_id": "song:e0f3c77fa564632f924f77fc5943ba7e"}, "player": {"parse": 0, "url": "https://s.5bb3.com/m4a/3374e5b4a4d9d8e8f967976747b5c2ca.m4a", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://lv-sycdn.kuwo.cn/1121142c8951e6ba5c5e63dc395739a3/6a095bb9/resource/1307392909/trackmedia/C200000W91kQ0efKLA.m4a?from=vip", "reason": null}}, {"spider": "PPnix", "file": "PPnix.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 633.915, "init": 0.001, "home": 0.002, "category": 416.844, "detail": 391.63, "player": 0.012, "url_check": 181.01, "total": 1633.466}, "counts": {"classes": 2, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "movie/8169.html", "flag": "PPnix", "play_id": "8169|1080P"}, "player": {"parse": 0, "url": "https://www.ppnix.com/info/m3u8/8169/1080P.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.ppnix.com/info/m3u8/8169/1080P.m3u8", "reason": null}}, {"spider": "QQ音乐", "file": "QQ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 541.899, "init": 0.036, "home": 0.007, "category": 452.437, "detail": 650.899, "player": 293.181, "url_check": 124.17, "total": 2160.205}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "playlist", "vod_id": "playlist:9495798654", "flag": "QQ音乐", "play_id": "qqmusic:001Zxgfp1Tu1gH:649285246|人生路漫漫 - 白小白"}, "player": {"parse": 0, "url": "https://isure.stream.qqmusic.qq.com/F000001Zxgfp1Tu1gH.flac?guid=28bb2a940536e05d47a5ccdbe87b3dd0&vkey=71C48C357AD2B1328123E95C9FC13CB0EDB8429B59D178081EA3181EBFC173288356429645A352E92D12850F4373E06B8A762032B8118373__v2b9ab6c8&uin=896389745&fromtag=119114&redirect=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://isure.stream.qqmusic.qq.com/F000001Zxgfp1Tu1gH.flac?guid=28bb2a940536e05d47a5ccdbe87b3dd0&vkey=71C48C357AD2B1328123E95C9FC13CB0EDB8429B59D178081EA3181EBFC173288356429645A352E92D12850F4373E06B8A762032B8118373__v2b9ab6c8&uin=896389745&fromtag=119114&redirect=1", "reason": null}}, {"spider": "YouTube", "file": "YouTube.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 519.336, "init": 0.013, "home": 1.134, "category": 713.283, "detail": 1128.987, "player": 0.006, "url_check": 878.681, "total": 3244.642}, "counts": {"classes": 28, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "cat_recommend", "vod_id": "yt:video:jvY_RhyQBEo", "flag": "YouTube", "play_id": "yt:video:jvY_RhyQBEo"}, "player": {"parse": 0, "url": "https://www.youtube.com/watch?v=jvY_RhyQBEo", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.youtube.com/watch?v=jvY_RhyQBEo", "reason": null}}, {"spider": "libvio", "file": "libvio.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 535.409, "init": 0.005, "home": 0.002, "category": 227.661, "detail": 207.418, "player": 0.004, "url_check": 208.805, "total": 1282.305}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "index", "vod_id": "714893307", "flag": "夸克", "play_id": "https://pan.quark.cn/s/f32bbba8a8d1"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/f32bbba8a8d1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/f32bbba8a8d1", "reason": null}}, {"spider": "youknow", "file": "youknow.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 531.779, "init": 0.004, "home": 0.003, "category": 1900.253, "detail": 1465.143, "player": 1014.779, "url_check": 1181.214, "total": 6198.253}, "counts": {"classes": 7, "category_videos": 220, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "203106", "flag": "YouKnowTV", "play_id": "eyJ2b2RfaWQiOiIyMDMxMDYiLCJlcGlzb2RlX2luZGV4IjoxLCJ0aXRsZSI6IuesrDAx6ZuGIiwiY2FuZGlkYXRlcyI6W3sic291cmNlIjoi57q_6LevMSIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDMxMDYtMS0xLyJ9LHsic291cmNlIjoi57q_6LevMiIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDMxMDYtMS0xLyJ9LHsic291cmNlIjoi57q_6LevOSIsInNvdXJjZV9pZCI6IjIiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDMxMDYtMi0xLyJ9LHsic291cmNlIjoi57q_6LevMTAiLCJzb3VyY2VfaWQiOiIyIiwiZXBpc29kZV91cmwiOiJodHRwczovL3d3dy55b3Vrbm93LnR2L3AvMjAzMTA2LTItMS8ifV19"}, "player": {"parse": 0, "url": "https://vip.dytt-tvs.com/20260411/16160_db529fd8/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cnvod.jimxtc.com/20260411/16160_db529fd8/index.m3u8", "reason": null}}, {"spider": "七味", "file": "七味.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 555.227, "init": 0.005, "home": 0.003, "category": 789.713, "detail": 1046.555, "player": 0.004, "url_check": 1163.228, "total": 3640.284}, "counts": {"classes": 5, "category_videos": 42, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "492461", "flag": "百度1", "play_id": "https://pan.baidu.com/s/1MZa4NhXR02WdMOXlmINHCA?pwd=Yu66"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1MZa4NhXR02WdMOXlmINHCA?pwd=Yu66", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=MZa4NhXR02WdMOXlmINHCA&pwd=Yu66", "reason": null}}, {"spider": "不太灵", "file": "不太灵.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 543.398, "init": 0.001, "home": 1721.159, "category": 1401.359, "detail": 568.707, "player": 0.007, "url_check": 1145.351, "total": 8488.45}, "counts": {"classes": 5, "category_videos": 25, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "36310054", "flag": "百度", "play_id": "https://pan.baidu.com/s/18_BEUEFJ_WmP3DaJIsxUfQ?pwd=Yu66"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/18_BEUEFJ_WmP3DaJIsxUfQ?pwd=Yu66", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=8_BEUEFJ_WmP3DaJIsxUfQ&pwd=Yu66", "reason": null}}, {"spider": "世纪音乐", "file": "世纪音乐.txt", "success": false, "failed_stage": "detail", "error": "详情缺少播放源或播放列表", "traceback": null, "timings_ms": {"module_load": 533.502, "init": 0.004, "home": 112.003, "category": 0.018, "detail": 110.967, "player": 0.0, "url_check": 0.0, "total": 961.982}, "counts": {"classes": 5, "category_videos": 3, "detail_videos": 1, "episodes": 0}, "samples": {"tid": "rank_list", "vod_id": "rank:rise", "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "两个BT", "file": "两个BT.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 552.379, "init": 0.001, "home": 0.006, "category": 391.07, "detail": 361.917, "player": 648.125, "url_check": 437.252, "total": 2471.862}, "counts": {"classes": 14, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zgjun", "vod_id": "ch455phy4", "flag": "两个BT", "play_id": "eyJwaWQiOiIvcGxheS9jaDQ1NXBoeTQiLCJzaWQiOiJjaDQ1NXBoeTQiLCJuYW1lIjoiMSJ9"}, "player": {"parse": 0, "url": "https://zijieapi.douyinbyte.com/m3u8/b8f2c4edf01a7ddd816b999ed947a251.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://zijieapi.douyinbyte.com/m3u8/b8f2c4edf01a7ddd816b999ed947a251.m3u8", "reason": null}}, {"spider": "乌云影视", "file": "乌云影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 529.681, "init": 0.003, "home": 251.462, "category": 2171.331, "detail": 952.02, "player": 0.014, "url_check": 2073.232, "total": 6072.777}, "counts": {"classes": 7, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "movie", "vod_id": "483203", "flag": "乌云影视", "play_id": "eyJtZWRpYUlkIjogIjQ4MzIwMyIsICJzZWFzb25ObyI6IDEsICJlcE5vIjogMSwgInZpZGVvSWQiOiAxNTc2MjgzMiwgInBsYXlVcmwiOiAiaHR0cHM6Ly9kMWpkbm1rYzFuNWNuNC5jbG91ZGZyb250Lm5ldC9nZW5fb3ZlcnNlYXMvaHR0cHM6Ly9zMi5iZmxsdmlwLmNvbS92aWRlby95YW54aWF4aW5nL2E2ZWY4NTRjMGMxZi9pbmRleC5tM3U4IiwgIm5hbWUiOiAi56ysMembhiDpq5jmuIUifQ"}, "player": {"parse": 0, "url": "https://d1jdnmkc1n5cn4.cloudfront.net/gen_overseas/https://s2.bfllvip.com/video/yanxiaxing/a6ef854c0c1f/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://d1jdnmkc1n5cn4.cloudfront.net/hls_overseas/fc170bafdf497968afaa2d0678737fcbda840126.m3u8", "reason": null}}, {"spider": "乐兔", "file": "乐兔.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 536.331, "init": 0.005, "home": 0.002, "category": 219.485, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 1075.353}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "二小", "file": "二小.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.2xiaopan.top', port=443): Max retries exceeded with url: /index.php/vod/show/id/1/page/1.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.2xiaopan.top', port=443) at 0x7448235f0550>, 'Connection to www.2xiaopan.top timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.2xiaopan.top', port=443) at 0x7448235f0550>, 'Connection to www.2xiaopan.top timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.2xiaopan.top', port=443): Max retries exceeded with url: /index.php/vod/show/id/1/page/1.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.2xiaopan.top', port=443) at 0x7448235f0550>, 'Connection to www.2xiaopan.top timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/二小.txt\", line 139, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/二小.txt\", line 93, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.2xiaopan.top', port=443): Max retries exceeded with url: /index.php/vod/show/id/1/page/1.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.2xiaopan.top', port=443) at 0x7448235f0550>, 'Connection to www.2xiaopan.top timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 536.173, "init": 0.004, "home": 0.003, "category": 10015.779, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10657.989}, "counts": {"classes": 4, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "人人电影", "file": "人人电影.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 527.823, "init": 0.003, "home": 0.019, "category": 460.731, "detail": 372.152, "player": 0.022, "url_check": 1056.545, "total": 2521.134}, "counts": {"classes": 4, "category_videos": 10, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "movie/list_2", "vod_id": "/movie/2026/0516/59204.html", "flag": "baidu", "play_id": "https://pan.baidu.com/s/1n6AIYm7rmLiULlMrrvWaAg?pwd=kuq2"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1n6AIYm7rmLiULlMrrvWaAg?pwd=kuq2", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=n6AIYm7rmLiULlMrrvWaAg&pwd=kuq2", "reason": null}}, {"spider": "人人视频", "file": "人人视频.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 15.869, "init": 0.005, "home": 176.316, "category": 237.767, "detail": 281.036, "player": 273.309, "url_check": 367.864, "total": 2604.504}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "MOVIE", "vod_id": "57046", "flag": "人人专线", "play_id": "57046@382015"}, "player": {"parse": 0, "url": "https://tfvy1gr3dymt1ge31hcj3gezdnpa.ourdvsssvip.com:20443/ws-302.bwcgee.cn/c074943c4e6d71f18ed75017f0e90402/df3c0578d329457b9265317e359bce4a-0839441ca402de22c840b03b4e64e0d2-ld.mp4?key=b7c470b4449bfdf2b776b68cad214025&time=1779012603088&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=8c64efddd71a4d7e9b064c3279e353e1&hevc=false&seasonId=57046&wsiphost=ipdbme&wsrid_tag=6a095bbb_PS-CTU-01tJO23_24585-23922-s1t1778998203145&x-mamba-business-label=13423&redirect_cnt=0&ip_type=0&wshc=C&requery=0", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://tfvy1gr3dymt1ge31hcj3gezdnpa.ourdvsssvip.com:20443/ws-302.bwcgee.cn/c074943c4e6d71f18ed75017f0e90402/df3c0578d329457b9265317e359bce4a-0839441ca402de22c840b03b4e64e0d2-ld.mp4?key=b7c470b4449bfdf2b776b68cad214025&time=1779012603088&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=8c64efddd71a4d7e9b064c3279e353e1&hevc=false&seasonId=57046&wsiphost=ipdbme&wsrid_tag=6a095bbb_PS-CTU-01tJO23_24585-23922-s1t1778998203145&x-mamba-business-label=13423&redirect_cnt=0&ip_type=0&wshc=C&requery=0", "reason": "HTTP 403"}}, {"spider": "优酷", "file": "优酷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.423, "init": 0.001, "home": 0.001, "category": 325.619, "detail": 549.71, "player": 0.003, "url_check": 245.032, "total": 1131.141}, "counts": {"classes": 6, "category_videos": 23, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "电视剧", "vod_id": "show:afcb2d65c6a34b798d77", "flag": "优酷", "play_id": "https://v.youku.com/v_show/id_XNjUzNDA5NDEwNA==.html"}, "player": {"parse": 1, "url": "https://v.youku.com/v_show/id_XNjUzNDA5NDEwNA==.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.youku.com/v_show/id_XNjUzNDA5NDEwNA==.html", "reason": null}}, {"spider": "低端影视", "file": "低端影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 13.905, "init": 0.001, "home": 0.001, "category": 1074.766, "detail": 733.009, "player": 0.01, "url_check": 909.634, "total": 2732.049}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "series", "vod_id": "movie/untamed-season-1", "flag": "播放源 1 (1080P)", "play_id": "https://v.cdnlz22.com/20250717/19912_440037b1/index.m3u8"}, "player": {"parse": 0, "url": "https://v.cdnlz22.com/20250717/19912_440037b1/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.cdnlz22.com/20250717/19912_440037b1/index.m3u8", "reason": null}}, {"spider": "修罗", "file": "修罗.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 23.282, "init": 0.001, "home": 0.001, "category": 677.959, "detail": 174.532, "player": 1009.689, "url_check": 546.332, "total": 2435.128}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "movie", "vod_id": "kongbu/3777", "flag": "修罗直连", "play_id": "play/3777-0"}, "player": {"parse": 0, "url": "https://v.xlys.ltd.ua/obj/6EFEEC7DFF183799CE91E80BE250B1DBD704F7CA2F6FF252E9FDE26B012EC41F", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://lf26-imcloud-file-sign.bytetos.com/ad-penny-bucket/o0EEIAAAt4uBCWDq8FAdfNTiQIzRVEAgCeOhCd?x-expires=1779000198&x-signature=sLHuV13wTq0z0ACtgX3zIetmF9g%3D", "reason": null}}, {"spider": "凡客TV", "file": "凡客TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.413, "init": 0.001, "home": 0.0, "category": 1040.655, "detail": 1200.119, "player": 1873.022, "url_check": 2840.07, "total": 6960.956}, "counts": {"classes": 8, "category_videos": 32, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "d0371b7920b771c7", "flag": "高速线路", "play_id": "{\"movie_id\":\"d0371b7920b771c7\",\"link_id\":\"f0dacbe7a99090ebe53eff7947f06d1a\",\"line_id\":\"line1\",\"line_name\":\"高速线路\",\"episode_name\":\"1080p\",\"type\":\"switch\",\"page\":\"https://fktv.me/movie/detail/d0371b7920b771c7\"}"}, "player": {"parse": 0, "url": "https://fktv.me/ysapi/m3u8/p/4289d7d402339efc8019c0b1c1dbb1ca.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fktv.me/ysapi/m3u8/p/4289d7d402339efc8019c0b1c1dbb1ca.m3u8", "reason": null}}, {"spider": "剧圈圈", "file": "剧圈圈.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.jqqzx.one', port=443): Max retries exceeded with url: /vod/63034.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.jqqzx.one', port=443) at 0x7448235f1a90>, 'Connection to www.jqqzx.one timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.jqqzx.one', port=443) at 0x7448235f1a90>, 'Connection to www.jqqzx.one timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.jqqzx.one', port=443): Max retries exceeded with url: /vod/63034.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.jqqzx.one', port=443) at 0x7448235f1a90>, 'Connection to www.jqqzx.one timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 428, in _validate_from_tid\n detail_result = _run_timed(result[\"timings_ms\"], \"detail\", spider.detailContent, clock, [vod_id])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 265, in detailContent\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 94, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.jqqzx.one', port=443): Max retries exceeded with url: /vod/63034.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.jqqzx.one', port=443) at 0x7448235f1a90>, 'Connection to www.jqqzx.one timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 16.3, "init": 0.002, "home": 0.001, "category": 929.136, "detail": 10338.828, "player": 0.0, "url_check": 0.0, "total": 11290.919}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "dianying", "vod_id": "63034", "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "剧迷", "file": "剧迷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 18.039, "init": 0.002, "home": 0.002, "category": 211.611, "detail": 411.717, "player": 405.311, "url_check": 1165.902, "total": 2213.543}, "counts": {"classes": 6, "category_videos": 150, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "443094", "flag": "高清线路 ᴴᴰ", "play_id": "443094-11-1"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260511/26651_2f4d94b1/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.phimgood.com/20260511/26651_2f4d94b1/index.m3u8", "reason": null}}, {"spider": "博看听书", "file": "博看听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.442, "init": 0.001, "home": 2844.885, "category": 250.368, "detail": 702.668, "player": 0.007, "url_check": 96.359, "total": 3903.648}, "counts": {"classes": 11, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1319", "vod_id": "902849", "flag": "博看听书", "play_id": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a"}, "player": {"parse": 0, "url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "reason": null}}, {"spider": "双星", "file": "双星.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.875, "init": 642.0, "home": 0.009, "category": 256.64, "detail": 182.31, "player": 0.015, "url_check": 144.188, "total": 1237.14}, "counts": {"classes": 7, "category_videos": 15, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "ju", "vod_id": "/ju/10461.html", "flag": "夸克", "play_id": "https://pan.quark.cn/s/9e546b70dcfd"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/9e546b70dcfd", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/9e546b70dcfd", "reason": null}}, {"spider": "听书", "file": "听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.796, "init": 84.333, "home": 0.007, "category": 181.815, "detail": 424.409, "player": 329.729, "url_check": 121.467, "total": 1155.88}, "counts": {"classes": 11, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "63", "flag": "直链", "play_id": "2926931|||63"}, "player": {"parse": 0, "url": "http://audiopay.cos.tx.xmcdn.com/download/1.0.0/storages/b817-audiopay/16/AA/GKwRIaIGGaRGADgE-gEx_hMS-aacv2-48K.m4a?sign=43c41b99f5f516e9b3663a74532235d4&buy_key=FM&token=9372×tamp=1778998203&duration=453", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://audiopay.cos.tx.xmcdn.com/download/1.0.0/storages/b817-audiopay/16/AA/GKwRIaIGGaRGADgE-gEx_hMS-aacv2-48K.m4a?sign=43c41b99f5f516e9b3663a74532235d4&buy_key=FM&token=9372×tamp=1778998203&duration=453", "reason": null}}, {"spider": "听友FM", "file": "听友FM.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.685, "init": 0.0, "home": 423.097, "category": 301.477, "detail": 606.969, "player": 439.895, "url_check": 162.418, "total": 1949.827}, "counts": {"classes": 8, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "46", "vod_id": "9783312385", "flag": "听友FM", "play_id": "9783312385|1"}, "player": {"parse": 0, "url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778998203&sign=2e50febbedcd855b084178701c902f08", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778998203&sign=2e50febbedcd855b084178701c902f08", "reason": null}}, {"spider": "咕咕动漫", "file": "咕咕动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.833, "init": 0.004, "home": 492.949, "category": 455.559, "detail": 364.509, "player": 9829.238, "url_check": 86.649, "total": 11242.706}, "counts": {"classes": 3, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "6", "vod_id": "4868", "flag": "咕咕新线(国内高速)", "play_id": "parse_api=a2796a09189261bcaf3cc4542d7c5ac2&url=lP2R+fQhIhERka2gIaipagHQsWKazkceP23lb9jG0yeOhUKQ437rokxlEtXsJd2U&token=|勇者之屑|1"}, "player": {"parse": 0, "url": "https://p9-bot-workflow-sign.byteimg.com/tos-cn-i-mdko3gqilj/cce3008768e54b0ab7d8413653c95ba1~tplv-mdko3gqilj-image.image?rk3s=81d4c505&x-expires=1810102214&x-signature=KsVDuCxPeiRrgRk3hZVKw5i4CRs%3D", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://p9-bot-workflow-sign.byteimg.com/tos-cn-i-mdko3gqilj/cce3008768e54b0ab7d8413653c95ba1~tplv-mdko3gqilj-image.image?rk3s=81d4c505&x-expires=1810102214&x-signature=KsVDuCxPeiRrgRk3hZVKw5i4CRs%3D", "reason": null}}, {"spider": "四万影视", "file": "四万影视.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 796, in connect\n sock_and_verified = _ssl_wrap_socket_and_match_hostname(\n sock=sock,\n ...<14 lines>...\n assert_fingerprint=self.assert_fingerprint,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 975, in _ssl_wrap_socket_and_match_hostname\n ssl_sock = ssl_wrap_socket(\n sock=sock,\n ...<8 lines>...\n tls_in_tls=tls_in_tls,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/ssl_.py\", line 483, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\nurllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 238, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 212, in _api_get\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n", "timings_ms": {"module_load": 4.51, "init": 0.001, "home": 0.001, "category": 291.215, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 307.08}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "20", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "在线之家", "file": "在线之家.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.769, "init": 0.001, "home": 0.001, "category": 574.949, "detail": 1117.215, "player": 2269.61, "url_check": 249.331, "total": 4217.724}, "counts": {"classes": 6, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "4601", "flag": "zxzj", "play_id": "vodplay/4601-1-1.html"}, "player": {"parse": 0, "url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=SeoV6FEQBcLB8985gSbTI5OHqTg%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778998571&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=SeoV6FEQBcLB8985gSbTI5OHqTg%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778998571&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "reason": null}}, {"spider": "多多", "file": "多多.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.72, "init": 0.001, "home": 0.001, "category": 400.552, "detail": 363.688, "player": 0.008, "url_check": 1001.43, "total": 1772.697}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "9461", "flag": "百度#多多", "play_id": "https://pan.baidu.com/s/1pwIj24HVw6lpAUcUrJE-QQ?pwd=yyds"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1pwIj24HVw6lpAUcUrJE-QQ?pwd=yyds", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=pwIj24HVw6lpAUcUrJE-QQ&pwd=yyds", "reason": null}}, {"spider": "如意资源", "file": "如意资源.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 21.76, "init": 0.004, "home": 0.024, "category": 688.273, "detail": 325.579, "player": 0.013, "url_check": 1809.157, "total": 2853.363}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "77365", "flag": "rym3u8", "play_id": "https://svip.ryiplay18.com/20260515/6453_8cf2f155/index.m3u8"}, "player": {"parse": 0, "url": "https://svip.ryiplay18.com/20260515/6453_8cf2f155/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://svip.ryiplay18.com/20260515/6453_8cf2f155/index.m3u8", "reason": null}}, {"spider": "寻川4K", "file": "寻川4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.904, "init": 425.079, "home": 880.405, "category": 421.7, "detail": 429.211, "player": 985.904, "url_check": 3334.564, "total": 6484.974}, "counts": {"classes": 9, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "580130", "flag": "JP", "play_id": "JP-144323-1281555@@@jplink"}, "player": {"parse": 0, "url": "http://110.42.49.74:2222/jp/api.php?token=ZY-2399rSx5gkm0ph8x7RsI5b3uB%2ByNozfsMvRtTxwOti5Aag&url=JP-144323-1281555&zy.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://ppvod011.blbtgg.com/splitOut/20260507/1296089/V20260507190929021301296089/index.m3u8?auth_key=1778998209-3f2bab1e859f4827bf99920e9ceabce6-0-916ae7e4bdd330d46d00dc433ad71a70", "reason": null}}, {"spider": "布布影视", "file": "布布影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 28.473, "init": 0.001, "home": 0.001, "category": 793.101, "detail": 656.869, "player": 1625.486, "url_check": 330.91, "total": 3437.307}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "69765", "flag": "JD蓝光(1)", "play_id": "JD4K@1@JD-5f4f247d6dfbc0b5d5cb1efeaa2303790"}, "player": {"parse": 0, "url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260517T061006Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260517%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=5feae3ad59fc1ae16ab337a55d34e2acc9cad863295db5f4b3e67e61fb39bcdf", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260517T061006Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260517%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=5feae3ad59fc1ae16ab337a55d34e2acc9cad863295db5f4b3e67e61fb39bcdf", "reason": null}}, {"spider": "微观短剧", "file": "微观短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.35, "init": 0.02, "home": 202.727, "category": 228.504, "detail": 355.999, "player": 0.003, "url_check": 111.162, "total": 903.764}, "counts": {"classes": 30, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "都市", "vod_id": "110000044555935694", "flag": "1080P", "play_id": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778998204&sign=ab3cfbc0b5ef28a6a191547135bdd873"}, "player": {"parse": 0, "url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778998204&sign=ab3cfbc0b5ef28a6a191547135bdd873", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778998204&sign=ab3cfbc0b5ef28a6a191547135bdd873", "reason": null}}, {"spider": "新韩剧网", "file": "新韩剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.054, "init": 0.0, "home": 0.0, "category": 580.229, "detail": 447.339, "player": 420.998, "url_check": 970.268, "total": 2424.513}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "3559", "flag": "在线云播", "play_id": "3559_1_1"}, "player": {"parse": 0, "url": "https://cdn.yzzyvip-29.com/20260201/16425_49d7d186/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzyvip-29.com/20260201/16425_49d7d186/index.m3u8", "reason": null}}, {"spider": "星星短剧", "file": "星星短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.284, "init": 0.001, "home": 0.001, "category": 414.364, "detail": 656.281, "player": 0.005, "url_check": 101.879, "total": 1182.674}, "counts": {"classes": 5, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1287", "vod_id": "422599939194881@@穿越诡计爱上你@@苏清韵为了给妹妹治病,卖身富豪被卓熙辰所救,答应卓熙辰的契约婚姻。苏清韵受到了爱慕卓熙辰的上官溪玲的疯狂攻击与算计,导致妹妹离世。苏清韵误会记恨卓熙辰因此拿刀伤了他,自己也被判入狱五年。", "flag": "星星短剧", "play_id": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8"}, "player": {"parse": 0, "url": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8", "reason": null}}, {"spider": "木偶", "file": "木偶.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 17.048, "init": 0.001, "home": 0.001, "category": 339.861, "detail": 222.973, "player": 0.024, "url_check": 235.885, "total": 817.25}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "25", "vod_id": "7920", "flag": "115#木偶", "play_id": "https://115cdn.com/s/swf2d3336dh?password=if81"}, "player": {"parse": 0, "url": "https://115cdn.com/s/swf2d3336dh?password=if81", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://115cdn.com/s/swf2d3336dh?password=if81", "reason": null}}, {"spider": "樱花动漫", "file": "樱花动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 17.885, "init": 0.002, "home": 0.002, "category": 2126.462, "detail": 1312.736, "player": 1333.353, "url_check": 348.171, "total": 5140.075}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "guoman", "vod_id": "18554", "flag": "高清", "play_id": "/play/18554-1-1/"}, "player": {"parse": 0, "url": "https://v.lzcdn27.com/20260215/5293_35f4e89c/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.lzcdn27.com/20260215/5293_35f4e89c/index.m3u8", "reason": null}}, {"spider": "橘子TV", "file": "橘子TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 22.197, "init": 317.986, "home": 338.541, "category": 341.642, "detail": 383.716, "player": 1116.609, "url_check": 990.114, "total": 3511.925}, "counts": {"classes": 8, "category_videos": 18, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "50", "vod_id": "399092", "flag": "一起看APP", "play_id": "25430680"}, "player": {"parse": 0, "url": "https://usaydd.5gwcft9h.com/m3u87/share/7434749/7628489/20260514/154832/1080/index.m3u8?sign=2b5f8c21ec70273e2c6d7326b39f0049&t=1778998208", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://usaydd.5gwcft9h.com/m3u87/share/7434749/7628489/20260514/154832/1080/index.m3u8?sign=2b5f8c21ec70273e2c6d7326b39f0049&t=1778998208", "reason": null}}, {"spider": "欧歌", "file": "欧歌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.014, "init": 0.001, "home": 0.001, "category": 393.711, "detail": 201.291, "player": 0.033, "url_check": 141.815, "total": 749.863}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "30030", "flag": "夸克", "play_id": "https://pan.quark.cn/s/f1cd6eb05cc0"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/f1cd6eb05cc0", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/f1cd6eb05cc0", "reason": null}}, {"spider": "沐辞4K", "file": "沐辞4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.862, "init": 128.78, "home": 202.98, "category": 152.191, "detail": 149.302, "player": 121.249, "url_check": 126.042, "total": 890.621}, "counts": {"classes": 7, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "398492", "flag": "🔥蓝光🔥", "play_id": "YYNB-03d250f5f587db3cd9229d2024013ef9@@@YYNB"}, "player": {"parse": 0, "url": "https://fffan.wki8.com/hls/443ce69a856be3af59a4fbac9117e498.m3u8?token=5bd60c08c0e0cbc680b1b671e600143f&time=1778998206&YYNB.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fffan.wki8.com/hls/443ce69a856be3af59a4fbac9117e498.m3u8?token=5bd60c08c0e0cbc680b1b671e600143f&time=1778998206&YYNB.m3u8", "reason": null}}, {"spider": "河马短剧", "file": "河马短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.46, "init": 0.001, "home": 624.374, "category": 369.956, "detail": 818.633, "player": 0.024, "url_check": 112.55, "total": 1939.548}, "counts": {"classes": 10, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "462", "vod_id": "41000188058", "flag": "河马剧场", "play_id": "https://dzzt-video.cbread.cn/0998c17fda17010da273b7ee3e82d951/6a0a9cd0/81/8x5/85x0/850x8/85088100014/612504118_1/612504118.720p.narrowv3.mp4"}, "player": {"parse": 0, "url": "https://dzzt-video.cbread.cn/0998c17fda17010da273b7ee3e82d951/6a0a9cd0/81/8x5/85x0/850x8/85088100014/612504118_1/612504118.720p.narrowv3.mp4", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://dzzt-video.cbread.cn/0998c17fda17010da273b7ee3e82d951/6a0a9cd0/81/8x5/85x0/850x8/85088100014/612504118_1/612504118.720p.narrowv3.mp4", "reason": null}}, {"spider": "清沅4K", "file": "清沅4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.678, "init": 206.952, "home": 248.426, "category": 132.18, "detail": 150.191, "player": 448.481, "url_check": 49.028, "total": 1245.424}, "counts": {"classes": 7, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "164006", "flag": "qq", "play_id": "https://v.qq.com/x/cover/mzc00200enkg8d1/z41024zjmma.html@@@qq"}, "player": {"parse": 0, "url": "https://apd-vlive.apdcdn.tc.qq.com/defaultts.tc.qq.com/B_iuPg00OvL_yhK6OLlGgQHQROuozDp9gitJq8Ukd9FjRaih3qt7k33SDUzYtWip7BN9c_gSh5sU_vylyFtmuF38VVmeDufYo9wCO8htVS8EMsVDv5w0Rero-MlVAU_4kRUSdOo6SRgDTodCi9bY_UgQ/svp_50112/twVuoNE8MOgdCo3qwCGYdPg9uE8k_uZQujyqfvF6eQBCiLEjnHrNJy-MzSsIjpsc1YFZtcvh85VhTYN_B7PLPNzVLzzAqeVJ1oFV7Th0c_k9-8Qc7SaXz1Jih6sjBhpkbpkUAZTR5wRWf8aEbdPE515QLpBM5BGK4VzIqbSb17b6Mvj3AopIBS7nqvdVmltglA4hMLYhVlg/0325_gzc_1000102_0b53u4aksaaahuaedhqfsrvmbj6dvgvqblka.f322363.ts.m3u8?ver=4", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://apd-vlive.apdcdn.tc.qq.com/defaultts.tc.qq.com/B_iuPg00OvL_yhK6OLlGgQHQROuozDp9gitJq8Ukd9FjRaih3qt7k33SDUzYtWip7BN9c_gSh5sU_vylyFtmuF38VVmeDufYo9wCO8htVS8EMsVDv5w0Rero-MlVAU_4kRUSdOo6SRgDTodCi9bY_UgQ/svp_50112/twVuoNE8MOgdCo3qwCGYdPg9uE8k_uZQujyqfvF6eQBCiLEjnHrNJy-MzSsIjpsc1YFZtcvh85VhTYN_B7PLPNzVLzzAqeVJ1oFV7Th0c_k9-8Qc7SaXz1Jih6sjBhpkbpkUAZTR5wRWf8aEbdPE515QLpBM5BGK4VzIqbSb17b6Mvj3AopIBS7nqvdVmltglA4hMLYhVlg/0325_gzc_1000102_0b53u4aksaaahuaedhqfsrvmbj6dvgvqblka.f322363.ts.m3u8?ver=4", "reason": null}}, {"spider": "滴答影视", "file": "滴答影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 26.324, "init": 0.001, "home": 0.001, "category": 196.451, "detail": 189.029, "player": 0.012, "url_check": 1025.362, "total": 1438.158}, "counts": {"classes": 5, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "3034", "flag": "百度", "play_id": "https://pan.baidu.com/s/1iUOPtAOz3ypj2nyY7Wv9Ww?pwd=969e"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1iUOPtAOz3ypj2nyY7Wv9Ww?pwd=969e", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=iUOPtAOz3ypj2nyY7Wv9Ww&pwd=969e", "reason": null}}, {"spider": "潮流APP", "file": "潮流APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 17.548, "init": 0.002, "home": 138.15, "category": 135.744, "detail": 419.6, "player": 402.443, "url_check": 120.598, "total": 1234.566}, "counts": {"classes": 10, "category_videos": 12, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "10", "vod_id": "75722", "flag": "线路二 (点击换线)", "play_id": "75722@@0@@0"}, "player": {"parse": 0, "url": "http://43.248.100.143:6888//api/?key=tviKuMb3MlqCW1I6gE&url=NBY-XMYAES506d105d64032dd243d9eaee78f9c4d46ae43e86c28ffa39239c9f3f1e5354e5ade3635b72dd0f3d736ec207aa64bcf0|84f621bd4bfac2f2072ee495d829a1c8", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://43.248.100.143:6888//api/?key=tviKuMb3MlqCW1I6gE&url=NBY-XMYAES506d105d64032dd243d9eaee78f9c4d46ae43e86c28ffa39239c9f3f1e5354e5ade3635b72dd0f3d736ec207aa64bcf0%7C84f621bd4bfac2f2072ee495d829a1c8", "reason": null}}, {"spider": "爱奇艺", "file": "爱奇艺.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 20.985, "init": 0.017, "home": 4325.051, "category": 412.539, "detail": 147.937, "player": 0.005, "url_check": 123.365, "total": 5031.839}, "counts": {"classes": 11, "category_videos": 60, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "pcw:1", "vod_id": "pcw:1$6003108394876300", "flag": "爱奇艺", "play_id": "http://www.iqiyi.com/v_1mmd1991kgw.html"}, "player": {"parse": 1, "url": "http://www.iqiyi.com/v_1mmd1991kgw.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.iqiyi.com/v_1mmd1991kgw.html", "reason": null}}, {"spider": "独播库", "file": "独播库.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.dbku.tv', port=443): Max retries exceeded with url: /vodtype/2--------1---.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.dbku.tv', port=443) at 0x744823909810>, 'Connection to www.dbku.tv timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.dbku.tv', port=443) at 0x744823909810>, 'Connection to www.dbku.tv timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.dbku.tv', port=443): Max retries exceeded with url: /vodtype/2--------1---.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.dbku.tv', port=443) at 0x744823909810>, 'Connection to www.dbku.tv timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/独播库.txt\", line 196, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/独播库.txt\", line 151, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.dbku.tv', port=443): Max retries exceeded with url: /vodtype/2--------1---.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.dbku.tv', port=443) at 0x744823909810>, 'Connection to www.dbku.tv timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 4.773, "init": 0.001, "home": 0.0, "category": 10012.242, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10024.413}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "index", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "猫猫4K", "file": "猫猫4K.txt", "success": false, "failed_stage": "unexpected", "error": "'NoneType' object has no attribute 'get'", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 467, in _validate_from_tid\n player_result = _run_timed(result[\"timings_ms\"], \"player\", spider.playerContent, clock, play[\"flag\"], play[\"play_id\"], [])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/猫猫4K.txt\", line 513, in playerContent\n File \"/home/harold/workspace/tvbox-resources/py/猫猫4K.txt\", line 388, in _api\nAttributeError: 'NoneType' object has no attribute 'get'\n", "timings_ms": {"module_load": 5.067, "init": 230.883, "home": 800.554, "category": 128.084, "detail": 127.331, "player": 254.26, "url_check": 0.0, "total": 1547.432}, "counts": {"classes": 5, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "60872", "flag": "火猫⚡2K", "play_id": "NSYS-BCDudYji1uw5PpRcPaW0Sn4WDZcO2IMe2pT5DRNdypSXtP0tgT8k6FDsp60zyMgJDEFQ8AYDmE7ECfs0JEMjrqU5kg-1McPGMmTtKGYQTci4PrkhLnT4QxlEKlHDjzGl|363655@@@NSYS"}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "玩偶哥哥", "file": "玩偶哥哥.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 4.746, "init": 0.001, "home": 0.001, "category": 142.829, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 289.646}, "counts": {"classes": 8, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "玩偶聚合", "file": "玩偶聚合.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.087, "init": 0.001, "home": 0.052, "category": 338.187, "detail": 198.077, "player": 0.004, "url_check": 219.843, "total": 764.781}, "counts": {"classes": 10, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "site_muou", "vod_id": "site:muou:/index.php/vod/detail/id/7920.html", "flag": "115#木偶", "play_id": "https://115cdn.com/s/swf2d3336dh?password=if81"}, "player": {"parse": 0, "url": "https://115cdn.com/s/swf2d3336dh?password=if81", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://115cdn.com/s/swf2d3336dh?password=if81", "reason": null}}, {"spider": "瓜子", "file": "瓜子.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.237, "init": 0.001, "home": 0.022, "category": 548.583, "detail": 758.122, "player": 408.245, "url_check": 125.408, "total": 7210.623}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "128782", "flag": "720", "play_id": "vod_d_id=128782&vurl_id=3323715&domain_type=8&resolution=720&type=play"}, "player": {"parse": 0, "url": "https://vd.hxcztech.com/7e1fbc937f17760f670f8cfe53f69001/20260517141014/decry/vd/20260311/MjYwZjE1YTRkO/172631/1332_720/aac/h264/hls/decrypt/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://app.xn--55qx2ai23bz99b.cn/index.m3u8", "reason": null}}, {"spider": "百度短剧", "file": "百度短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.409, "init": 0.001, "home": 425.725, "category": 265.397, "detail": 626.197, "player": 294.372, "url_check": 71.97, "total": 1687.544}, "counts": {"classes": 29, "category_videos": 9, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "3", "vod_id": "10284595040762396431", "flag": "百度短剧", "play_id": "4723147730512611191|||10284595040762396431"}, "player": {"parse": 0, "url": "http://vd3.bdstatic.com/mda-rgu31fx13xnschwc/1080p/mv_cae264_backtrack_1080p_normal/1753858859061604699/mda-rgu31fx13xnschwc.mp4?v_from_s=haokan-ui-video-hnb", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://vd3.bdstatic.com/mda-rgu31fx13xnschwc/1080p/mv_cae264_backtrack_1080p_normal/1753858859061604699/mda-rgu31fx13xnschwc.mp4?v_from_s=haokan-ui-video-hnb", "reason": null}}, {"spider": "盘Ta", "file": "盘Ta.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.639, "init": 0.0, "home": 298.22, "category": 278.858, "detail": 356.142, "player": 0.04, "url_check": 143.724, "total": 1083.323}, "counts": {"classes": 8, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "?tagId=39765285016165", "vod_id": "264430", "flag": "移动", "play_id": "https://yun.139.com/shareweb/%23/w/i/2sUfBKpu5QBqz"}, "player": {"parse": 0, "url": "https://yun.139.com/shareweb/#/w/i/2sUfBKpu5QBqz", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://yun.139.com/shareweb/#/w/i/2sUfBKpu5QBqz", "reason": null}}, {"spider": "盘聚", "file": "盘聚.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 10.952, "init": 0.001, "home": 0.001, "category": 184.437, "detail": 206.01, "player": 404.709, "url_check": 984.187, "total": 1791.489}, "counts": {"classes": 4, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "/", "vod_id": "117684", "flag": "百度1", "play_id": "push://https://www.seedhub.cc/link_start/?redirect_to=pan_id_576185&movie_title=▶️▶️▶️【挽救计划】【4K 1080P】更新于 ✅ 今天"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1e6bRvilOqU11I0aregqndA?pwd=ojmk", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=e6bRvilOqU11I0aregqndA&pwd=ojmk", "reason": null}}, {"spider": "盘链", "file": "盘链.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 18.31, "init": 0.02, "home": 0.001, "category": 878.473, "detail": 189.932, "player": 0.002, "url_check": 1187.804, "total": 2275.654}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "0", "vod_id": "75716", "flag": "百度", "play_id": "push://https://pan.baidu.com/s/1rbhXV3rLNKd1wVta_hMYnw?pwd=8888"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1rbhXV3rLNKd1wVta_hMYnw?pwd=8888", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=rbhXV3rLNKd1wVta_hMYnw&pwd=8888", "reason": null}}, {"spider": "短剧优选", "file": "短剧优选.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 47.595, "init": 508.899, "home": 0.204, "category": 481.298, "detail": 301.821, "player": 0.004, "url_check": 65.842, "total": 1407.006}, "counts": {"classes": 11, "category_videos": 74, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "七猫", "vod_id": "七猫@24333", "flag": "七猫短剧", "play_id": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8"}, "player": {"parse": 0, "url": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8", "reason": null}}, {"spider": "短剧网", "file": "短剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 13.137, "init": 0.001, "home": 0.001, "category": 252.808, "detail": 212.024, "player": 0.012, "url_check": 148.149, "total": 626.988}, "counts": {"classes": 2, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "https://sm3.cc/?id=50869", "flag": "夸克", "play_id": "https://pan.quark.cn/s/4ba23c32d016"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/4ba23c32d016", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/4ba23c32d016", "reason": null}}, {"spider": "糯米", "file": "糯米.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.707, "init": 0.001, "home": 529.801, "category": 978.95, "detail": 140.803, "player": 246.777, "url_check": 387.865, "total": 2290.687}, "counts": {"classes": 7, "category_videos": 81, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/vod-type-id-1-pg-1.html", "vod_id": "90063", "flag": "uvw", "play_id": "/vod-play-id-90063-src-1-num-1.html"}, "player": {"parse": 0, "url": "https://vip.123pan.cn/1853039965/dy/东北往事极恶不赦.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.123pan.cn/1853039965/dy/%E4%B8%9C%E5%8C%97%E5%BE%80%E4%BA%8B%E6%9E%81%E6%81%B6%E4%B8%8D%E8%B5%A6.m3u8", "reason": null}}, {"spider": "网易云音乐", "file": "网易云音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.243, "init": 0.0, "home": 496.261, "category": 472.948, "detail": 0.005, "player": 1337.893, "url_check": 582.185, "total": 2894.961}, "counts": {"classes": 62, "category_videos": 100, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/discover/toplist?id=19723756", "vod_id": "3378820676@Still Freestylin'@BIG Naughty👉MP3", "flag": "网易云音乐", "play_id": "3378820676"}, "player": {"parse": 0, "url": "https://iot202.music.126.net/Yml6PWlvdCZjaGFubmVsPW5ldGVhc2Umc2NlbmU9YW5kcmNhcg/20260517143511/ec5305865d700b17ffd30c78bda14d41/jdymusic/obj/wo3DlMOGwrbDjj7DisKw/80051642439/3765/201f/3ffa/6db7d90f5ad4d1d73ae205fab7bc1552.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://iot202.music.126.net/Yml6PWlvdCZjaGFubmVsPW5ldGVhc2Umc2NlbmU9YW5kcmNhcg/20260517143511/ec5305865d700b17ffd30c78bda14d41/jdymusic/obj/wo3DlMOGwrbDjj7DisKw/80051642439/3765/201f/3ffa/6db7d90f5ad4d1d73ae205fab7bc1552.mp3", "reason": null}}, {"spider": "耐视点播", "file": "耐视点播.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 7.461, "init": 0.0, "home": 0.001, "category": 1536.846, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 7662.949}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "腾讯视频", "file": "腾讯视频.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.123, "init": 0.001, "home": 70.04, "category": 296.516, "detail": 977.707, "player": 0.004, "url_check": 196.375, "total": 1547.627}, "counts": {"classes": 7, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "choice", "vod_id": "choice$mzc002009g0nh88", "flag": "腾讯视频", "play_id": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html"}, "player": {"parse": 1, "url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "reason": null}}, {"spider": "至臻", "file": "至臻.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.878, "init": 0.001, "home": 0.001, "category": 330.035, "detail": 302.552, "player": 0.023, "url_check": 144.143, "total": 782.423}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "20436", "flag": "夸克#至臻", "play_id": "https://pan.quark.cn/s/76aa8cdbc04e"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/76aa8cdbc04e", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/76aa8cdbc04e", "reason": null}}, {"spider": "茶杯狐", "file": "茶杯狐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 13.323, "init": 0.001, "home": 1888.338, "category": 893.357, "detail": 709.117, "player": 1648.382, "url_check": 973.504, "total": 7927.955}, "counts": {"classes": 4, "category_videos": 35, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "detail/video/121079", "flag": "YZ有广", "play_id": "play/121079-2-1"}, "player": {"parse": 0, "url": "https://cdn.yzzy28-play.com/20260516/30254_58e36f59/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzy28-play.com/20260516/30254_58e36f59/index.m3u8", "reason": null}}, {"spider": "虎斑", "file": "虎斑.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 20.665, "init": 0.001, "home": 0.001, "category": 4324.249, "detail": 4135.899, "player": 0.029, "url_check": 1172.151, "total": 9654.133}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/457525.html", "flag": "百度#虎斑", "play_id": "https://pan.baidu.com/s/1Pp4ntqiaBdal4k85avFlzA?pwd=9623"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1Pp4ntqiaBdal4k85avFlzA?pwd=9623", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=Pp4ntqiaBdal4k85avFlzA&pwd=9623", "reason": null}}, {"spider": "蜡笔", "file": "蜡笔.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 26.242, "init": 0.001, "home": 0.001, "category": 740.117, "detail": 309.786, "player": 0.004, "url_check": 954.128, "total": 2030.854}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "29", "vod_id": "9231", "flag": "百度#蜡笔", "play_id": "https://pan.baidu.com/s/1LZC9v0B6ETfpQWooAqqxJA?pwd=jcx5"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1LZC9v0B6ETfpQWooAqqxJA?pwd=jcx5", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=LZC9v0B6ETfpQWooAqqxJA&pwd=jcx5", "reason": null}}, {"spider": "袋鼠影视", "file": "袋鼠影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 23.07, "init": 0.001, "home": 0.001, "category": 647.409, "detail": 180.051, "player": 185.355, "url_check": 930.548, "total": 1967.852}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "414893", "flag": "蓝光专线4", "play_id": "play/414893-1-0"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260516/26886_f6f20ada/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.phimgood.com/20260516/26886_f6f20ada/index.m3u8", "reason": null}}, {"spider": "视界", "file": "视界.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 13.134, "init": 0.001, "home": 331.2, "category": 196.675, "detail": 195.783, "player": 1522.536, "url_check": 329.847, "total": 2591.304}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "20", "vod_id": "58032", "flag": "HD2K源①", "play_id": "parse_api=d9f9042eda382ed2f70e1768a99bb4dd&url=XVgP91nhDYjtbBTtMLsXszZufgvi/fjSDTVBq0DaT+0h9YKOxWGxk8i6xy6oASjC&token=617bff387b0770180a5ec58b5422572f|给你爱情处方|1"}, "player": {"parse": 0, "url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/b2f2a0ae-95ad-4425-843e-ce655549e99f.m3u8?x-amz-CLIENTTYPEIN=UNKNOWN&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&x-amz-userLevel=0&x-amz-limitrate=51200&x-amz-UID=269636103&x-amz-APPID=828221&response-content-disposition=attachment%3Bfilename%3D%2201.m3u8%22%3Bfilename*%3DUTF-8%27%2701.m3u8&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=PERSON&Signature=En3ij/5AeCc2RogddUcTT0c8UEQ%3D&Expires=1778998332&x-amz-FSIZE=105195&x-amz-UFID=125281235925525184", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/b2f2a0ae-95ad-4425-843e-ce655549e99f.m3u8?x-amz-CLIENTTYPEIN=UNKNOWN&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&x-amz-userLevel=0&x-amz-limitrate=51200&x-amz-UID=269636103&x-amz-APPID=828221&response-content-disposition=attachment%3Bfilename%3D%2201.m3u8%22%3Bfilename*%3DUTF-8%27%2701.m3u8&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=PERSON&Signature=En3ij/5AeCc2RogddUcTT0c8UEQ%3D&Expires=1778998332&x-amz-FSIZE=105195&x-amz-UFID=125281235925525184", "reason": null}}, {"spider": "路漫漫", "file": "路漫漫.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 4.896, "init": 0.001, "home": 0.001, "category": 8448.905, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10487.613}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "7", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "酷我听书", "file": "酷我听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 20.183, "init": 0.001, "home": 400.049, "category": 89.206, "detail": 3695.26, "player": 157.292, "url_check": 56.59, "total": 4420.464}, "counts": {"classes": 4, "category_videos": 21, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "13492273", "flag": "酷我听书", "play_id": "free|94448942"}, "player": {"parse": 0, "url": "http://lv.sycdn.kuwo.cn/3b6676dc20077ccd3511d2423e0d7e43/6a095bc7/resource/30106/trackmedia/long/M500002ZiI9a1sctnS.mp3?bitrate$128&format$mp3&source$kwplayerhd_ar_4.3.0.8_tianbao_T1A_qirui.apk&type$convert_url_with_sign&user$&loginUid$", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://lv.sycdn.kuwo.cn/3b6676dc20077ccd3511d2423e0d7e43/6a095bc7/resource/30106/trackmedia/long/M500002ZiI9a1sctnS.mp3?bitrate$128&format$mp3&source$kwplayerhd_ar_4.3.0.8_tianbao_T1A_qirui.apk&type$convert_url_with_sign&user$&loginUid$", "reason": null}}, {"spider": "酷狗音乐", "file": "酷狗音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.966, "init": 404.375, "home": 254.867, "category": 289.529, "detail": 259.228, "player": 308.863, "url_check": 28.337, "total": 1557.47}, "counts": {"classes": 12, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "recommend", "vod_id": "763961257", "flag": "酷狗音乐", "play_id": "763961257"}, "player": {"parse": 0, "url": "http://fsdg360.tx.kugou.com/202605171410/740adf594fa5ead99b0a8d44ad421a86/v3/83d6b3f3cfd84db9725db1a3928882d0/yp/p_0_960113/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx763961257_qu128_s1312614746.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://fsdg360.tx.kugou.com/202605171410/740adf594fa5ead99b0a8d44ad421a86/v3/83d6b3f3cfd84db9725db1a3928882d0/yp/p_0_960113/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx763961257_qu128_s1312614746.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "reason": null}}, {"spider": "金牌", "file": "金牌.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 5.624, "init": 0.0, "home": 1560.78, "category": 198.362, "detail": 186.285, "player": 188.832, "url_check": 113.885, "total": 2979.597}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "141585", "flag": "金牌线路", "play_id": "141585@1258194"}, "player": {"parse": 0, "url": "https://ppvod01.kqgfbs.com/splitOut/20260103/1226906/V20260103184854978121226906/index.m3u8?t=6a0985f6&whip=212.107.29.200&sign=5af3091aeb78ede8ab6f9d7890c25a6a2743ff36", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://ppvod01.kqgfbs.com/splitOut/20260103/1226906/V20260103184854978121226906/index.m3u8?t=6a0985f6&whip=212.107.29.200&sign=5af3091aeb78ede8ab6f9d7890c25a6a2743ff36", "reason": "HTTP 403"}}, {"spider": "闪电", "file": "闪电.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 9.099, "init": 0.001, "home": 0.001, "category": 1767.276, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 3399.089}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "飞快TV", "file": "飞快TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 17.341, "init": 0.001, "home": 0.001, "category": 973.021, "detail": 997.063, "player": 950.433, "url_check": 1916.647, "total": 4855.962}, "counts": {"classes": 4, "category_videos": 40, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "19623", "flag": "高清317", "play_id": "/vodplay/19623-2-1.html"}, "player": {"parse": 0, "url": "https://cdn.yzzy31-play.com/20260410/18169_b0cf1ee8/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzy31-play.com/20260410/18169_b0cf1ee8/index.m3u8", "reason": null}}, {"spider": "魔方APP", "file": "魔方APP.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 10.154, "init": 0.002, "home": 280.079, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 290.533}, "counts": {"classes": 0, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": null, "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "麦田影院", "file": "麦田影院.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 16.632, "init": 0.002, "home": 0.002, "category": 173.863, "detail": 192.938, "player": 0.043, "url_check": 323.578, "total": 708.776}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "171427", "flag": "LZ源", "play_id": "eyJ1cmwiOiJodHRwczovL3YubHpjZG4yNy5jb20vMjAyNTA3MzEvNjc5XzUwYTJiMDQ3L2luZGV4Lm0zdTgiLCJwYXJzZV9hcGkiOiJodHRwczovL2RlbC5tdDMyMC5jb20vbHpmZi5waHA_dXJsPSIsImhlYWRlcnMiOnt9LCJ1c2VyX2FnZW50IjoiIn0="}, "player": {"parse": 0, "url": "https://v.lzcdn27.com/20250731/679_50a2b047/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.lzcdn27.com/20250731/679_50a2b047/index.m3u8", "reason": null}}, {"spider": "黑猫APP", "file": "黑猫APP.txt", "success": false, "failed_stage": "unexpected", "error": "('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 534, in _make_request\n response = conn.getresponse()\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 571, in getresponse\n httplib_response = super().getresponse()\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/http/client.py\", line 1450, in getresponse\n response.begin()\n ~~~~~~~~~~~~~~^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/http/client.py\", line 336, in begin\n version, status, reason = self._read_status()\n ~~~~~~~~~~~~~~~~~^^\nhttp.client.RemoteDisconnected: Remote end closed connection without response\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 490, in increment\n raise reraise(type(error), error, _stacktrace)\n ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/util.py\", line 38, in reraise\n raise value.with_traceback(tb)\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\nurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 700, in validate_spider_file\n home_result = _run_timed(result[\"timings_ms\"], \"home\", spider.homeContent, clock, False)\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/黑猫APP.txt\", line 155, in homeContent\n File \"/home/harold/workspace/tvbox-resources/py/黑猫APP.txt\", line 67, in _api_post\n File \"/home/harold/workspace/atv-spiders/py/base/spider.py\", line 152, in post\n rsp = requests.post(url, params=params, data=data, json=json, cookies=cookies, headers=headers, timeout=timeout,\n verify=verify, stream=stream, allow_redirects=allow_redirects)\nrequests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))\n", "timings_ms": {"module_load": 8.287, "init": 0.001, "home": 588.863, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 607.142}, "counts": {"classes": 0, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": null, "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}]};
|
|
const STAGE_LABELS = {"module_load": "模块加载", "init": "初始化", "home": "首页分类", "category": "分类列表", "detail": "视频详情", "player": "播放地址", "url_check": "地址校验", "unexpected": "未预期异常", "total": "总耗时"};
|
|
const RAW_SPIDER_BASE_URL = "https://github.com/har01d5/tvbox/raw/refs/heads/master/py/";
|
|
const state = {
|
|
status: "all",
|
|
failedStage: "all",
|
|
keyword: "",
|
|
minDuration: "",
|
|
maxDuration: "",
|
|
sortKey: "spider",
|
|
sortDirection: "asc",
|
|
};
|
|
|
|
function escapeHtml(value) {
|
|
return String(value ?? "")
|
|
.replace(/&/g, "&")
|
|
.replace(/</g, "<")
|
|
.replace(/>/g, ">")
|
|
.replace(/"/g, """);
|
|
}
|
|
|
|
function formatDuration(value) {
|
|
const numeric = Number(value ?? 0);
|
|
if (Number.isNaN(numeric)) {
|
|
return String(value ?? "");
|
|
}
|
|
if (numeric >= 1000) {
|
|
return `${Math.round((numeric / 1000) * 1000) / 1000}秒`;
|
|
}
|
|
return `${numeric}ms`;
|
|
}
|
|
|
|
function stageLabel(stage) {
|
|
return stage ? (STAGE_LABELS[stage] || stage) : "";
|
|
}
|
|
|
|
function spiderUrl(fileName) {
|
|
return RAW_SPIDER_BASE_URL + encodeURIComponent(String(fileName || ""));
|
|
}
|
|
|
|
function uniqueFailedStages(items) {
|
|
const values = new Set();
|
|
items.forEach((item) => {
|
|
if (item.failed_stage) {
|
|
values.add(item.failed_stage);
|
|
}
|
|
});
|
|
return [...values].sort((left, right) => stageLabel(left).localeCompare(stageLabel(right), "zh-Hans-CN"));
|
|
}
|
|
|
|
function sortValue(item, key) {
|
|
if (key === "status") {
|
|
return item.success ? 0 : 1;
|
|
}
|
|
if (key === "failed_stage") {
|
|
return stageLabel(item.failed_stage);
|
|
}
|
|
if (key === "spider") {
|
|
return item.spider || "";
|
|
}
|
|
return Number(item.timings_ms?.[key] ?? 0);
|
|
}
|
|
|
|
function applyFilters(items) {
|
|
return items.filter((item) => {
|
|
if (state.status === "success" && !item.success) {
|
|
return false;
|
|
}
|
|
if (state.status === "failed" && item.success) {
|
|
return false;
|
|
}
|
|
if (state.failedStage !== "all" && (item.failed_stage || "") !== state.failedStage) {
|
|
return false;
|
|
}
|
|
const haystack = `${item.spider || ""} ${item.file || ""}`.toLowerCase();
|
|
if (state.keyword && !haystack.includes(state.keyword.toLowerCase())) {
|
|
return false;
|
|
}
|
|
const total = Number(item.timings_ms?.total ?? 0);
|
|
if (state.minDuration !== "" && total < Number(state.minDuration)) {
|
|
return false;
|
|
}
|
|
if (state.maxDuration !== "" && total > Number(state.maxDuration)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
});
|
|
}
|
|
|
|
function applySort(items) {
|
|
return [...items].sort((left, right) => {
|
|
const a = sortValue(left, state.sortKey);
|
|
const b = sortValue(right, state.sortKey);
|
|
const comparison = typeof a === "number" && typeof b === "number"
|
|
? a - b
|
|
: String(a).localeCompare(String(b), "zh-Hans-CN");
|
|
return state.sortDirection === "asc" ? comparison : -comparison;
|
|
});
|
|
}
|
|
|
|
function renderSummary(items) {
|
|
const success = items.filter((item) => item.success).length;
|
|
const failed = items.length - success;
|
|
document.getElementById("summary-line").textContent =
|
|
`当前显示 ${items.length} / ${report.results.length} 条,成功 ${success},失败 ${failed}`;
|
|
}
|
|
|
|
function renderRows(items) {
|
|
const tbody = document.getElementById("results-body");
|
|
if (!items.length) {
|
|
tbody.innerHTML = '<tr><td class="empty" colspan="13">当前筛选条件下没有结果</td></tr>';
|
|
return;
|
|
}
|
|
|
|
tbody.innerHTML = items.map((item) => {
|
|
const statusClass = item.success ? "success" : "failed";
|
|
const statusText = item.success ? "成功" : "失败";
|
|
return `
|
|
<tr>
|
|
<td><a href="${spiderUrl(item.file)}" target="_blank" rel="noreferrer">${escapeHtml(item.spider)}</a></td>
|
|
<td><span class="status ${statusClass}">${statusText}</span></td>
|
|
<td>${escapeHtml(stageLabel(item.failed_stage))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.total ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.module_load ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.init ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.home ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.category ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.detail ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.player ?? 0))}</td>
|
|
<td>${escapeHtml(formatDuration(item.timings_ms?.url_check ?? 0))}</td>
|
|
<td>${escapeHtml(item.player?.url ?? "")}</td>
|
|
<td>${escapeHtml(item.error ?? "")}</td>
|
|
</tr>
|
|
`;
|
|
}).join("");
|
|
}
|
|
|
|
function updateSortIndicators() {
|
|
document.querySelectorAll("[data-sort-key]").forEach((button) => {
|
|
const indicator = button.querySelector(".sort-indicator");
|
|
if (!indicator) {
|
|
return;
|
|
}
|
|
if (button.dataset.sortKey !== state.sortKey) {
|
|
indicator.textContent = "";
|
|
return;
|
|
}
|
|
indicator.textContent = state.sortDirection === "asc" ? "▲" : "▼";
|
|
});
|
|
}
|
|
|
|
function rerender() {
|
|
const filtered = applyFilters(report.results);
|
|
const sorted = applySort(filtered);
|
|
renderSummary(sorted);
|
|
renderRows(sorted);
|
|
updateSortIndicators();
|
|
}
|
|
|
|
function initializeFilters() {
|
|
const statusFilter = document.getElementById("status-filter");
|
|
const stageFilter = document.getElementById("stage-filter");
|
|
const keywordFilter = document.getElementById("keyword-filter");
|
|
const minFilter = document.getElementById("duration-min-filter");
|
|
const maxFilter = document.getElementById("duration-max-filter");
|
|
const resetButton = document.getElementById("reset-filters");
|
|
|
|
statusFilter.innerHTML = [
|
|
'<option value="all">全部状态</option>',
|
|
'<option value="success">成功</option>',
|
|
'<option value="failed">失败</option>',
|
|
].join("");
|
|
|
|
stageFilter.innerHTML = ['<option value="all">全部阶段</option>']
|
|
.concat(uniqueFailedStages(report.results).map((stage) => `<option value="${escapeHtml(stage)}">${escapeHtml(stageLabel(stage))}</option>`))
|
|
.join("");
|
|
|
|
statusFilter.addEventListener("change", (event) => {
|
|
state.status = event.target.value;
|
|
rerender();
|
|
});
|
|
stageFilter.addEventListener("change", (event) => {
|
|
state.failedStage = event.target.value;
|
|
rerender();
|
|
});
|
|
keywordFilter.addEventListener("input", (event) => {
|
|
state.keyword = event.target.value.trim();
|
|
rerender();
|
|
});
|
|
minFilter.addEventListener("input", (event) => {
|
|
state.minDuration = event.target.value;
|
|
rerender();
|
|
});
|
|
maxFilter.addEventListener("input", (event) => {
|
|
state.maxDuration = event.target.value;
|
|
rerender();
|
|
});
|
|
resetButton.addEventListener("click", () => {
|
|
state.status = "all";
|
|
state.failedStage = "all";
|
|
state.keyword = "";
|
|
state.minDuration = "";
|
|
state.maxDuration = "";
|
|
statusFilter.value = "all";
|
|
stageFilter.value = "all";
|
|
keywordFilter.value = "";
|
|
minFilter.value = "";
|
|
maxFilter.value = "";
|
|
rerender();
|
|
});
|
|
|
|
document.querySelectorAll("[data-sort-key]").forEach((button) => {
|
|
button.addEventListener("click", () => {
|
|
const key = button.dataset.sortKey;
|
|
if (state.sortKey === key) {
|
|
state.sortDirection = state.sortDirection === "asc" ? "desc" : "asc";
|
|
} else {
|
|
state.sortKey = key;
|
|
state.sortDirection = "asc";
|
|
}
|
|
rerender();
|
|
});
|
|
});
|
|
}
|
|
|
|
function initializeSummaryCards() {
|
|
document.getElementById("generated-at").textContent = report.generated_at || "";
|
|
document.getElementById("max-workers").textContent = String(report.max_workers ?? "");
|
|
document.getElementById("total-count").textContent = String(report.summary?.total ?? 0);
|
|
document.getElementById("success-count").textContent = String(report.summary?.success ?? 0);
|
|
document.getElementById("failed-count").textContent = String(report.summary?.failed ?? 0);
|
|
document.getElementById("total-duration").textContent = formatDuration(report.total_duration_ms ?? 0);
|
|
}
|
|
|
|
initializeSummaryCards();
|
|
initializeFilters();
|
|
rerender();
|
|
</script>
|
|
</body>
|
|
</html>
|