563 lines
102 KiB
HTML
563 lines
102 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-29T09:23:20+08:00", "max_workers": 16, "total_duration_ms": 101015.636, "summary": {"total": 79, "success": 62, "failed": 17, "success_rate": 0.7848, "stage_failures": {"module_load": 0, "init": 0, "home": 1, "category": 4, "detail": 1, "player": 2, "url_check": 4, "unexpected": 5}}, "results": [{"spider": "4KVM", "file": "4KVM.txt", "success": false, "failed_stage": "url_check", "error": "HTTPSConnectionPool(host='oss.douyinbit.com', port=443): Read timed out. (read timeout=5)", "traceback": null, "timings_ms": {"module_load": 171.589, "init": 0.0, "home": 11452.95, "category": 369.711, "detail": 416.101, "player": 15974.782, "url_check": 5012.11, "total": 53018.133}, "counts": {"classes": 6, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "0", "vod_id": "ch45uoheg", "flag": "alists", "play_id": "34106|ch45uoheg"}, "player": {"parse": 0, "url": "https://oss.douyinbit.com/m3u8/343cbeca6f317f32363710b998c7ef04.m3u8", "valid": false, "reachable": false, "status_code": null, "final_url": "https://oss.douyinbit.com/m3u8/343cbeca6f317f32363710b998c7ef04.m3u8", "reason": "HTTPSConnectionPool(host='oss.douyinbit.com', port=443): Read timed out. (read timeout=5)"}}, {"spider": "4K指南", "file": "4K指南.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 170.895, "init": 0.001, "home": 0.003, "category": 1574.104, "detail": 633.343, "player": 0.004, "url_check": 144.294, "total": 2524.343}, "counts": {"classes": 5, "category_videos": 50, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "zuixin", "vod_id": "20247", "flag": "夸克网盘", "play_id": "push://https://pan.quark.cn/s/ff3b1d0af705"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/ff3b1d0af705", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/ff3b1d0af705", "reason": null}}, {"spider": "6V磁力", "file": "6V磁力.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 170.832, "init": 0.003, "home": 0.001, "category": 738.828, "detail": 8525.144, "player": 0.005, "url_check": 0.114, "total": 9451.044}, "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": 172.212, "init": 0.001, "home": 522.558, "category": 196.708, "detail": 8011.15, "player": 12440.9, "url_check": 527.503, "total": 21920.835}, "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://car-lv.kuwo.cn/41211908ec1707546b784234febd781a/6a18ea99/resource/1307392909/trackmedia/C200000W91kQ0efKLA.m4a?from=vip", "reason": null}}, {"spider": "PPnix", "file": "PPnix.txt", "success": false, "failed_stage": "url_check", "error": "HTTPSConnectionPool(host='www.ppnix.com', port=443): Read timed out. (read timeout=5)", "traceback": null, "timings_ms": {"module_load": 252.622, "init": 0.0, "home": 0.0, "category": 9821.236, "detail": 7918.206, "player": 0.01, "url_check": 5010.492, "total": 47757.781}, "counts": {"classes": 2, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "tv/7961.html", "flag": "PPnix", "play_id": "7961|1"}, "player": {"parse": 0, "url": "https://www.ppnix.com/info/m3u8/7961/1.m3u8", "valid": false, "reachable": false, "status_code": null, "final_url": "https://www.ppnix.com/info/m3u8/7961/1.m3u8", "reason": "HTTPSConnectionPool(host='www.ppnix.com', port=443): Read timed out. (read timeout=5)"}}, {"spider": "QQ音乐", "file": "QQ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 210.533, "init": 0.014, "home": 0.005, "category": 447.663, "detail": 208.322, "player": 324.238, "url_check": 115.639, "total": 1345.966}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "playlist", "vod_id": "playlist:8864481091", "flag": "QQ音乐", "play_id": "qqmusic:000vFwcA30PDQL:404200507|我爱的这个世界 - 刘宇宁"}, "player": {"parse": 0, "url": "https://isure.stream.qqmusic.qq.com/F00000205yHb2ohwLy.flac?guid=dd1bbe84b154b0faebbe9aae99be6946&vkey=58558C668B34CEF552E53E2DD2DB908E1E79CE1F29688732A50EA8EE67C0EE8C1279862058B7A7549F07310E86CF02D58BFD454BBF4369A2__v2b9ab122&uin=1152921504846230218&fromtag=119114&redirect=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://isure.stream.qqmusic.qq.com/F00000205yHb2ohwLy.flac?guid=dd1bbe84b154b0faebbe9aae99be6946&vkey=58558C668B34CEF552E53E2DD2DB908E1E79CE1F29688732A50EA8EE67C0EE8C1279862058B7A7549F07310E86CF02D58BFD454BBF4369A2__v2b9ab122&uin=1152921504846230218&fromtag=119114&redirect=1", "reason": null}}, {"spider": "YouTube", "file": "YouTube.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=5)", "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)\nTimeoutError: _ssl.c:1063: The handshake operation 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/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 39, in reraise\n raise value\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.ReadTimeoutError: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=5)\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 721, 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 417, 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 296, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/YouTube.txt\", line 899, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/YouTube.txt\", line 731, in _search\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=5)\n", "timings_ms": {"module_load": 182.816, "init": 0.005, "home": 0.052, "category": 5018.901, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 5270.47}, "counts": {"classes": 29, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "cat_recommend", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "libvio", "file": "libvio.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 169.023, "init": 0.001, "home": 0.001, "category": 225.243, "detail": 294.871, "player": 0.004, "url_check": 156.696, "total": 897.557}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "index", "vod_id": "714893476", "flag": "夸克", "play_id": "https://pan.quark.cn/s/1443eb7917c1"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/1443eb7917c1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/1443eb7917c1", "reason": null}}, {"spider": "youknow", "file": "youknow.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 174.038, "init": 0.001, "home": 0.001, "category": 1434.64, "detail": 1029.33, "player": 6608.026, "url_check": 734.259, "total": 10049.578}, "counts": {"classes": 7, "category_videos": 237, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "204191", "flag": "YouKnowTV", "play_id": "eyJ2b2RfaWQiOiIyMDQxOTEiLCJlcGlzb2RlX2luZGV4IjoxLCJ0aXRsZSI6IuesrDHpm4YiLCJjYW5kaWRhdGVzIjpbeyJzb3VyY2UiOiLnur_ot68xIiwic291cmNlX2lkIjoiMSIsImVwaXNvZGVfdXJsIjoiaHR0cHM6Ly93d3cueW91a25vdy50di9wLzIwNDE5MS0xLTEvIn0seyJzb3VyY2UiOiLnur_ot68yIiwic291cmNlX2lkIjoiMSIsImVwaXNvZGVfdXJsIjoiaHR0cHM6Ly93d3cueW91a25vdy50di9wLzIwNDE5MS0xLTEvIn0seyJzb3VyY2UiOiLnur_ot68yMCIsInNvdXJjZV9pZCI6IjIiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDQxOTEtMi0xLyJ9LHsic291cmNlIjoi57q_6LevMjEiLCJzb3VyY2VfaWQiOiIyIiwiZXBpc29kZV91cmwiOiJodHRwczovL3d3dy55b3Vrbm93LnR2L3AvMjA0MTkxLTItMS8ifV19"}, "player": {"parse": 0, "url": "https://vip.dytt-tvs.com/20260528/21711_1d73ce2a/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cnvod.jimxtc.com/20260528/21711_1d73ce2a/index.m3u8", "reason": null}}, {"spider": "七味", "file": "七味.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 166.636, "init": 0.004, "home": 0.001, "category": 749.58, "detail": 6484.317, "player": 0.003, "url_check": 0.049, "total": 7451.465}, "counts": {"classes": 5, "category_videos": 42, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "497727", "flag": "磁力1", "play_id": "magnet:?xt=urn:btih:b93bf20164ebaf4e8a5b7421af1f4b31a3c87b89&dn=La Prima Notte Di Quiete (1972) [720p] [BluRay] [YTS.BZ]"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:b93bf20164ebaf4e8a5b7421af1f4b31a3c87b89&dn=La Prima Notte Di Quiete (1972) [720p] [BluRay] [YTS.BZ]", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:b93bf20164ebaf4e8a5b7421af1f4b31a3c87b89&dn=La Prima Notte Di Quiete (1972) [720p] [BluRay] [YTS.BZ]", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "不太灵", "file": "不太灵.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 209.433, "init": 0.001, "home": 731.477, "category": 9598.681, "detail": 935.272, "player": 0.006, "url_check": 145.44, "total": 11646.866}, "counts": {"classes": 5, "category_videos": 25, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "38489690", "flag": "夸克", "play_id": "https://pan.quark.cn/s/b8a015968cb9"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/b8a015968cb9", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/b8a015968cb9", "reason": null}}, {"spider": "世纪音乐", "file": "世纪音乐.txt", "success": false, "failed_stage": "detail", "error": "详情缺少播放源或播放列表", "traceback": null, "timings_ms": {"module_load": 166.224, "init": 0.0, "home": 448.671, "category": 0.006, "detail": 104.808, "player": 0.0, "url_check": 0.0, "total": 865.901}, "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": 214.318, "init": 0.001, "home": 0.001, "category": 10933.382, "detail": 365.637, "player": 8220.598, "url_check": 428.315, "total": 20192.181}, "counts": {"classes": 14, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zgjun", "vod_id": "ch45x6dqu", "flag": "两个BT", "play_id": "eyJwaWQiOiIvcGxheS9jaDQ1eDZkcXUiLCJzaWQiOiJjaDQ1eDZkcXUiLCJuYW1lIjoiMSJ9"}, "player": {"parse": 0, "url": "https://zijieapi.douyinbyte.com/m3u8/343cbeca6f317f32363710b998c7ef04.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://zijieapi.douyinbyte.com/m3u8/343cbeca6f317f32363710b998c7ef04.m3u8", "reason": null}}, {"spider": "乌云影视", "file": "乌云影视.txt", "success": false, "failed_stage": "url_check", "error": "HTTPSConnectionPool(host='d1jdnmkc1n5cn4.cloudfront.net', port=443): Read timed out. (read timeout=5)", "traceback": null, "timings_ms": {"module_load": 211.792, "init": 0.003, "home": 9063.556, "category": 1258.914, "detail": 15971.202, "player": 0.018, "url_check": 5011.463, "total": 45647.237}, "counts": {"classes": 7, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "tv_series", "vod_id": "41042", "flag": "乌云影视", "play_id": "eyJtZWRpYUlkIjogIjQxMDQyIiwgInNlYXNvbk5vIjogMSwgImVwTm8iOiAxLCAidmlkZW9JZCI6IDc2MjEyLCAicGxheVVybCI6ICJodHRwczovL2QxamRubWtjMW41Y240LmNsb3VkZnJvbnQubmV0L2dlbl9vdmVyc2Vhcy9odHRwczovL2MxLnJyY2RuYmYyLmNvbS92aWRlby9zaG91d2FuZy_nrKwwMembhi9pbmRleC5tM3U4IiwgIm5hbWUiOiAi56ysMembhiDnrKwwMembhiJ9"}, "player": {"parse": 0, "url": "https://d1jdnmkc1n5cn4.cloudfront.net/gen_overseas/https://c1.rrcdnbf2.com/video/shouwang/第01集/index.m3u8", "valid": false, "reachable": false, "status_code": null, "final_url": "https://d1jdnmkc1n5cn4.cloudfront.net/gen_overseas/https://c1.rrcdnbf2.com/video/shouwang/第01集/index.m3u8", "reason": "HTTPSConnectionPool(host='d1jdnmkc1n5cn4.cloudfront.net', port=443): Read timed out. (read timeout=5)"}}, {"spider": "乐兔", "file": "乐兔.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 168.224, "init": 0.001, "home": 0.001, "category": 320.87, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 11204.593}, "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": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 164.905, "init": 0.001, "home": 0.001, "category": 562.847, "detail": 411.492, "player": 0.005, "url_check": 1074.439, "total": 2281.082}, "counts": {"classes": 4, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "12448", "flag": "百度#二小", "play_id": "https://pan.baidu.com/s/1NapvmjEzldshuisESRLswg?pwd=8jzw"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1NapvmjEzldshuisESRLswg?pwd=8jzw", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=NapvmjEzldshuisESRLswg&pwd=8jzw", "reason": null}}, {"spider": "人人电影", "file": "人人电影.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.989, "init": 0.001, "home": 0.0, "category": 535.525, "detail": 11946.13, "player": 0.007, "url_check": 996.635, "total": 13482.644}, "counts": {"classes": 4, "category_videos": 10, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "movie/list_2", "vod_id": "/movie/2020/0125/7883.html", "flag": "baidu", "play_id": "https://pan.baidu.com/s/1suZeb5GhI28-fn4NvKt2iQ?pwd=qbhx"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1suZeb5GhI28-fn4NvKt2iQ?pwd=qbhx", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=suZeb5GhI28-fn4NvKt2iQ&pwd=qbhx", "reason": null}}, {"spider": "人人视频", "file": "人人视频.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.051, "init": 0.001, "home": 470.569, "category": 231.219, "detail": 232.058, "player": 707.223, "url_check": 127.35, "total": 3094.441}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "MOVIE", "vod_id": "57598", "flag": "人人专线", "play_id": "57598@384965"}, "player": {"parse": 0, "url": "https://a3fkpcus2np3rn9.302.fledgecloud.com:56782/zj-302-cdn.bwcgee.cn/c05eb9a4599f71f19a5f6633b79f0402/6a80878b8495464ebbdddd2ab846263a-2b7a5f858875efd57569a959a4277a75-ld.mp4?auth_key=1780032199-37eaf15344a3c2081756fbd5612fde85-0-5be693b237b833fc80d2bcdef1009f8a&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=93bd14042b7744d4b6ca30b8ce055c10&hevc=false&seasonId=57598", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://a3fkpcus2np3rn9.302.fledgecloud.com:56782/zj-302-cdn.bwcgee.cn/c05eb9a4599f71f19a5f6633b79f0402/6a80878b8495464ebbdddd2ab846263a-2b7a5f858875efd57569a959a4277a75-ld.mp4?auth_key=1780032199-37eaf15344a3c2081756fbd5612fde85-0-5be693b237b833fc80d2bcdef1009f8a&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=93bd14042b7744d4b6ca30b8ce055c10&hevc=false&seasonId=57598", "reason": null}}, {"spider": "优酷", "file": "优酷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.972, "init": 0.001, "home": 0.001, "category": 309.112, "detail": 555.401, "player": 0.006, "url_check": 234.912, "total": 1106.909}, "counts": {"classes": 6, "category_videos": 23, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "电视剧", "vod_id": "show:bbaf2557249a4f2a9447", "flag": "优酷", "play_id": "https://v.youku.com/v_show/id_XNjUyMTM3MTY0OA==.html"}, "player": {"parse": 1, "url": "https://v.youku.com/v_show/id_XNjUyMTM3MTY0OA==.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.youku.com/v_show/id_XNjUyMTM3MTY0OA==.html", "reason": null}}, {"spider": "低端影视", "file": "低端影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.169, "init": 0.001, "home": 0.001, "category": 9657.629, "detail": 13117.049, "player": 0.016, "url_check": 499.841, "total": 28290.619}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "series", "vod_id": "movie/the-four-seasons-season-2", "flag": "播放源 2 (1080P)", "play_id": "https://hn.bfvvs.com/play/b823qYje/index.m3u8"}, "player": {"parse": 0, "url": "https://hn.bfvvs.com/play/b823qYje/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://hn.bfvvs.com/play/b823qYje/index.m3u8", "reason": null}}, {"spider": "修罗", "file": "修罗.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.367, "init": 0.001, "home": 0.001, "category": 1204.181, "detail": 8921.014, "player": 0.008, "url_check": 0.063, "total": 22849.321}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "movie", "vod_id": "kongbu/26940", "flag": "磁力合集", "play_id": "magnet:?xt=urn:btih:867fd8d84c83817625391aa5dfba8ad4005b90c9"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:867fd8d84c83817625391aa5dfba8ad4005b90c9", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:867fd8d84c83817625391aa5dfba8ad4005b90c9", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "农民", "file": "农民.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.412, "init": 0.001, "home": 205.253, "category": 250.369, "detail": 8633.182, "player": 17747.02, "url_check": 193.394, "total": 27036.129}, "counts": {"classes": 5, "category_videos": 84, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "dianying", "vod_id": "/vod/63169.html", "flag": "BF", "play_id": "63169-3-1"}, "player": {"parse": 1, "url": "https://www.nmdvd.top/jx/player.php?vid=kayRUnIznRPb9gFiV8PRYXRxckJXZ0h6RitXa3lSVm4xWXpJaGpwWmxEWTB4ZVg1Y1pyeERqZmltK3d4SHUyWmVTa3NaaHh5NXppb2dxSmhVSFN0QmVlQVZYcXl2WDJMNFhUcmVjYWQ3emJvck8vRGVMTjUyMVFNZEd4bTN2dXJlNzJRb0ZjQlpxekJBdTNlNmZzdkFHL3o4WlFBL3hEMC9uM21WanZ1a1ZxT01DbVpqL3hZb0U2cGRKcnY5OC9ubEltTjBpbnhHbDdsbzI4bkZJQzNwUEFRQWcxbjg4OG1oYXkxdVE9PQ%3D%3D", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.nmdvd.top/jx/player.php?vid=kayRUnIznRPb9gFiV8PRYXRxckJXZ0h6RitXa3lSVm4xWXpJaGpwWmxEWTB4ZVg1Y1pyeERqZmltK3d4SHUyWmVTa3NaaHh5NXppb2dxSmhVSFN0QmVlQVZYcXl2WDJMNFhUcmVjYWQ3emJvck8vRGVMTjUyMVFNZEd4bTN2dXJlNzJRb0ZjQlpxekJBdTNlNmZzdkFHL3o4WlFBL3hEMC9uM21WanZ1a1ZxT01DbVpqL3hZb0U2cGRKcnY5OC9ubEltTjBpbnhHbDdsbzI4bkZJQzNwUEFRQWcxbjg4OG1oYXkxdVE9PQ%3D%3D", "reason": null}}, {"spider": "凡客TV", "file": "凡客TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.257, "init": 0.0, "home": 0.0, "category": 8781.556, "detail": 1229.862, "player": 2549.606, "url_check": 3206.984, "total": 15772.917}, "counts": {"classes": 8, "category_videos": 32, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "47701eed6d5fcbfe", "flag": "高速线路", "play_id": "{\"movie_id\":\"47701eed6d5fcbfe\",\"link_id\":\"8301f83c86a8bb4222a90d8f2d97295d\",\"line_id\":\"line1\",\"line_name\":\"高速线路\",\"episode_name\":\"1080p\",\"type\":\"switch\",\"page\":\"https://fktv.me/movie/detail/47701eed6d5fcbfe\"}"}, "player": {"parse": 0, "url": "https://fktv.me/ysapi/m3u8/p/614e6304edb4ba0d5292cd5b68f09717.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fktv.me/ysapi/m3u8/p/614e6304edb4ba0d5292cd5b68f09717.m3u8", "reason": null}}, {"spider": "剧圈圈", "file": "剧圈圈.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.jqqzx.cc', port=443): Read timed out. (read timeout=10)", "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)\nTimeoutError: _ssl.c:1063: The handshake operation 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/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 39, in reraise\n raise value\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.ReadTimeoutError: HTTPSConnectionPool(host='www.jqqzx.cc', port=443): Read timed out. (read 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 721, 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 417, 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 296, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 152, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 94, in _request_html\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.jqqzx.cc', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 4.582, "init": 0.001, "home": 0.0, "category": 10016.586, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10022.643}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "dianying", "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": 4.426, "init": 0.001, "home": 0.001, "category": 218.087, "detail": 396.558, "player": 8126.223, "url_check": 1321.585, "total": 10067.303}, "counts": {"classes": 6, "category_videos": 149, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "444469", "flag": "高清线路 ᴴᴰ", "play_id": "444469-5-1"}, "player": {"parse": 0, "url": "https://vip.dytt-see.com/20260522/38907_e9814d39/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.dytt-see.com/20260522/38907_e9814d39/index.m3u8", "reason": null}}, {"spider": "博看听书", "file": "博看听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.565, "init": 0.001, "home": 2792.044, "category": 261.857, "detail": 681.395, "player": 0.002, "url_check": 47.613, "total": 3791.005}, "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": 3.57, "init": 318.678, "home": 0.007, "category": 163.646, "detail": 164.77, "player": 0.002, "url_check": 160.904, "total": 812.422}, "counts": {"classes": 7, "category_videos": 15, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "ju", "vod_id": "/ju/10652.html", "flag": "夸克", "play_id": "https://pan.quark.cn/s/2e1f59625078"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/2e1f59625078", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/2e1f59625078", "reason": null}}, {"spider": "听书", "file": "听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.874, "init": 75.432, "home": 0.001, "category": 154.984, "detail": 443.358, "player": 273.19, "url_check": 74.953, "total": 1027.764}, "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=3735767a01835cd93256e9035d730fea&buy_key=FM&token=1998×tamp=1780017807&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=3735767a01835cd93256e9035d730fea&buy_key=FM&token=1998×tamp=1780017807&duration=453", "reason": null}}, {"spider": "听友FM", "file": "听友FM.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.948, "init": 0.001, "home": 384.724, "category": 299.177, "detail": 804.07, "player": 424.841, "url_check": 122.72, "total": 2046.344}, "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=1780016560&sign=884cead7eab3edb3aaa0580a766779a5", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1780016560&sign=884cead7eab3edb3aaa0580a766779a5", "reason": null}}, {"spider": "咕咕动漫", "file": "咕咕动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.352, "init": 0.004, "home": 8992.59, "category": 8080.31, "detail": 7997.814, "player": 2114.941, "url_check": 508.043, "total": 27701.698}, "counts": {"classes": 3, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "5006", "flag": "咕咕新线(国内高速)", "play_id": "parse_api=a2796a09189261bcaf3cc4542d7c5ac2&url=3LubxqZsk6qbM3DCPWWx/cOuPcSr2xK2yOFGYC7FReM/Pgh9Xb/qg0/YIVmGivgx&token=|左撇子艾伦|1"}, "player": {"parse": 0, "url": "https://p26-bot-workflow-sign.byteimg.com/tos-cn-i-mdko3gqilj/c87332e45fc54a998855db93afefd79b~tplv-mdko3gqilj-image.image?rk3s=81d4c505&x-expires=1811121834&x-signature=LklLILf3tCT9obdFqMvkIe0L74o%3D", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://p26-bot-workflow-sign.byteimg.com/tos-cn-i-mdko3gqilj/c87332e45fc54a998855db93afefd79b~tplv-mdko3gqilj-image.image?rk3s=81d4c505&x-expires=1811121834&x-signature=LklLILf3tCT9obdFqMvkIe0L74o%3D", "reason": null}}, {"spider": "四万影视", "file": "四万影视.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='40000.me', port=443): Read timed out. (read timeout=10)", "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)\nTimeoutError: _ssl.c:1063: The handshake operation 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/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 39, in reraise\n raise value\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.ReadTimeoutError: HTTPSConnectionPool(host='40000.me', port=443): Read timed out. (read 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 721, 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 417, 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 296, 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.ReadTimeout: HTTPSConnectionPool(host='40000.me', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 4.414, "init": 0.001, "home": 0.001, "category": 10011.375, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10017.923}, "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": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 5.641, "init": 0.001, "home": 0.001, "category": 8198.21, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 18892.209}, "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.43, "init": 0.0, "home": 0.001, "category": 519.876, "detail": 7099.764, "player": 0.003, "url_check": 1493.982, "total": 9120.494}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "9495", "flag": "百度#多多", "play_id": "https://pan.baidu.com/s/1i2ttj0-hyFITBvybf3A1xg?pwd=yyds"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1i2ttj0-hyFITBvybf3A1xg?pwd=yyds", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=i2ttj0-hyFITBvybf3A1xg&pwd=yyds", "reason": null}}, {"spider": "如意资源", "file": "如意资源.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.996, "init": 0.001, "home": 0.006, "category": 6622.703, "detail": 350.23, "player": 0.004, "url_check": 1859.146, "total": 8836.704}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "78244", "flag": "rym3u8", "play_id": "https://svip.ryiplay18.com/20260528/6715_f9025f29/index.m3u8"}, "player": {"parse": 0, "url": "https://svip.ryiplay18.com/20260528/6715_f9025f29/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://svip.ryiplay18.com/20260528/6715_f9025f29/index.m3u8", "reason": null}}, {"spider": "寻川4K", "file": "寻川4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 10.156, "init": 3868.617, "home": 8420.589, "category": 4787.647, "detail": 3406.333, "player": 8213.34, "url_check": 78.717, "total": 28785.767}, "counts": {"classes": 9, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "594092", "flag": "BFm(请勿相信任何广告)-高峰卡", "play_id": "https://v10.baofeng10.com/video/qunti/cf33e2162cab/index.m3u8@@@bfzym3u8"}, "player": {"parse": 0, "url": "http://122.51.23.16:7788/qgg/Cache/BF/6ab5e4130dcb22f0d295d1cd1c546f48.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://122.51.23.16:7788/qgg/Cache/BF/6ab5e4130dcb22f0d295d1cd1c546f48.m3u8", "reason": null}}, {"spider": "布布影视", "file": "布布影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.83, "init": 0.001, "home": 0.001, "category": 738.829, "detail": 5524.216, "player": 1750.949, "url_check": 603.226, "total": 8622.747}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "86421", "flag": "JD蓝光(1)", "play_id": "JD4K@1@JD-3823d951135350f7454bb0f521eaa5a70"}, "player": {"parse": 0, "url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/874f908a-f9df-4538-942a-7342fda0ff8a.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%22%E6%AD%A3%E7%89%87.m3u8%22%3Bfilename*%3DUTF-8%27%27%25E6%25AD%25A3%25E7%2589%2587.m3u8&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=PERSON&Signature=tPv6V0ttpBsjM3vY3FbkjS5fQyM%3D&Expires=1780018121&x-amz-FSIZE=58373&x-amz-UFID=624471240788981016", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/874f908a-f9df-4538-942a-7342fda0ff8a.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%22%E6%AD%A3%E7%89%87.m3u8%22%3Bfilename*%3DUTF-8%27%27%25E6%25AD%25A3%25E7%2589%2587.m3u8&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=PERSON&Signature=tPv6V0ttpBsjM3vY3FbkjS5fQyM%3D&Expires=1780018121&x-amz-FSIZE=58373&x-amz-UFID=624471240788981016", "reason": null}}, {"spider": "微观短剧", "file": "微观短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.766, "init": 0.017, "home": 201.19, "category": 483.344, "detail": 362.165, "player": 0.002, "url_check": 200.394, "total": 1256.484}, "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=1780017816&sign=b1f102f03a0e15001798af6c1a7a51ef"}, "player": {"parse": 0, "url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1780017816&sign=b1f102f03a0e15001798af6c1a7a51ef", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1780017816&sign=b1f102f03a0e15001798af6c1a7a51ef", "reason": null}}, {"spider": "新韩剧网", "file": "新韩剧网.txt", "success": false, "failed_stage": "url_check", "error": "HTTPSConnectionPool(host='cdn.wlcdn88.com', port=777): Max retries exceeded with url: /20220425/DTaWi1fA/index.m3u8 (Caused by NameResolutionError(\"HTTPSConnection(host='cdn.wlcdn88.com', port=777): Failed to resolve 'cdn.wlcdn88.com' ([Errno -2] Name or service not known)\"))", "traceback": null, "timings_ms": {"module_load": 4.152, "init": 0.001, "home": 0.0, "category": 407.872, "detail": 393.971, "player": 10204.772, "url_check": 93.744, "total": 25381.65}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "3", "vod_id": "3666", "flag": "在线云播", "play_id": "3666_1_1"}, "player": {"parse": 0, "url": "https://cdn.wlcdn88.com:777/20220425/DTaWi1fA/index.m3u8", "valid": false, "reachable": false, "status_code": null, "final_url": "https://cdn.wlcdn88.com:777/20220425/DTaWi1fA/index.m3u8", "reason": "HTTPSConnectionPool(host='cdn.wlcdn88.com', port=777): Max retries exceeded with url: /20220425/DTaWi1fA/index.m3u8 (Caused by NameResolutionError(\"HTTPSConnection(host='cdn.wlcdn88.com', port=777): Failed to resolve 'cdn.wlcdn88.com' ([Errno -2] Name or service not known)\"))"}}, {"spider": "星星短剧", "file": "星星短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.206, "init": 0.001, "home": 0.001, "category": 408.801, "detail": 441.833, "player": 0.002, "url_check": 457.547, "total": 1311.793}, "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": 7.822, "init": 0.001, "home": 0.001, "category": 271.0, "detail": 9624.421, "player": 0.01, "url_check": 556.434, "total": 10460.154}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "25", "vod_id": "8010", "flag": "115#木偶", "play_id": "https://115cdn.com/s/sws3tre36dh?password=n600"}, "player": {"parse": 0, "url": "https://115cdn.com/s/sws3tre36dh?password=n600", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://115cdn.com/s/sws3tre36dh?password=n600", "reason": null}}, {"spider": "樱花动漫", "file": "樱花动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.95, "init": 0.001, "home": 0.0, "category": 9407.366, "detail": 9186.919, "player": 9720.387, "url_check": 2062.679, "total": 52183.559}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "guoman", "vod_id": "12", "flag": "ikun", "play_id": "/play/12-2-1/"}, "player": {"parse": 0, "url": "https://vip.ffzy-play5.com/20221105/1095_05365236/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.ffzy-play5.com/20221105/1095_05365236/index.m3u8", "reason": null}}, {"spider": "橘子TV", "file": "橘子TV.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='gapi0725.5p8jcjc.com', port=443): Read timed out. (read timeout=10)", "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)\nTimeoutError: _ssl.c:1063: The handshake operation 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/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 39, in reraise\n raise value\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.ReadTimeoutError: HTTPSConnectionPool(host='gapi0725.5p8jcjc.com', port=443): Read timed out. (read 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 701, in validate_spider_file\n _run_timed(result[\"timings_ms\"], \"init\", spider.init, clock, \"\")\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 296, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/橘子TV.txt\", line 36, in init\n File \"/home/harold/workspace/atv-spiders/py/base/spider.py\", line 145, in fetch\n rsp = requests.get(url, params=params, cookies=cookies, headers=headers, timeout=timeout, verify=verify,\n stream=stream, allow_redirects=allow_redirects)\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='gapi0725.5p8jcjc.com', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 3.616, "init": 10005.588, "home": 0.0, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10013.449}, "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": 12.565, "init": 0.001, "home": 0.001, "category": 238.531, "detail": 8777.313, "player": 0.006, "url_check": 1062.103, "total": 10091.033}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "30245", "flag": "百度", "play_id": "https://pan.baidu.com/s/1ocYGtyaOZbl0admuOWZ_AA?pwd=8888"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1ocYGtyaOZbl0admuOWZ_AA?pwd=8888", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=ocYGtyaOZbl0admuOWZ_AA&pwd=8888", "reason": null}}, {"spider": "沐辞4K", "file": "沐辞4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.673, "init": 133.624, "home": 187.994, "category": 129.528, "detail": 135.662, "player": 113.768, "url_check": 336.797, "total": 1044.695}, "counts": {"classes": 7, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "403963", "flag": "🔥蓝光🔥", "play_id": "YYNB-fb05126bd0ec8d1202c273ed27abff61@@@YYNB"}, "player": {"parse": 0, "url": "https://fffan.wki8.com/hls/2777ef7654397662a7be88aadd40562d.m3u8?token=1581fe2c3cc390060ae4ed3994513b32&time=1780017819&YYNB.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fffan.wki8.com/hls/2777ef7654397662a7be88aadd40562d.m3u8?token=1581fe2c3cc390060ae4ed3994513b32&time=1780017819&YYNB.m3u8", "reason": null}}, {"spider": "河马短剧", "file": "河马短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.485, "init": 0.001, "home": 326.569, "category": 367.045, "detail": 901.48, "player": 0.027, "url_check": 406.639, "total": 2008.271}, "counts": {"classes": 10, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "462", "vod_id": "41000204563", "flag": "河马剧场", "play_id": "https://dzzt-video.cbread.cn/fb497ad137835851c124bc55c31e7685/6a1a3690/79/3x6/36x5/365x4/36540200014/613135697_1/613135697.720p.narrowv3.mp4"}, "player": {"parse": 0, "url": "https://dzzt-video.cbread.cn/fb497ad137835851c124bc55c31e7685/6a1a3690/79/3x6/36x5/365x4/36540200014/613135697_1/613135697.720p.narrowv3.mp4", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://dzzt-video.cbread.cn/fb497ad137835851c124bc55c31e7685/6a1a3690/79/3x6/36x5/365x4/36540200014/613135697_1/613135697.720p.narrowv3.mp4", "reason": null}}, {"spider": "清沅4K", "file": "清沅4K.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.862, "init": 332.844, "home": 2883.931, "category": 296.056, "detail": 1986.303, "player": 526.44, "url_check": 550.875, "total": 6584.545}, "counts": {"classes": 7, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "40233", "flag": "blbl", "play_id": "https://www.bilibili.com/bangumi/play/ep3482154?theme=movie@@@bilibili"}, "player": {"parse": 0, "url": "https://png.ruyijx.com/m3u8/O6O7vIjxSanku2.m3u8?MhN8oGKP9Onh2YpElq", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://png.ruyijx.com/m3u8/O6O7vIjxSanku2.m3u8?MhN8oGKP9Onh2YpElq", "reason": null}}, {"spider": "滴答影视", "file": "滴答影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.28, "init": 0.001, "home": 0.001, "category": 8905.593, "detail": 213.083, "player": 0.003, "url_check": 1044.964, "total": 10168.68}, "counts": {"classes": 5, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "3059", "flag": "百度", "play_id": "https://pan.baidu.com/s/1R8i99f7bE7BwItLZRjJreA?pwd=rydw"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1R8i99f7bE7BwItLZRjJreA?pwd=rydw", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=R8i99f7bE7BwItLZRjJreA&pwd=rydw", "reason": null}}, {"spider": "潮流APP", "file": "潮流APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.521, "init": 0.002, "home": 416.222, "category": 890.654, "detail": 406.321, "player": 285.938, "url_check": 72.63, "total": 2076.628}, "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://210.16.164.53:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1780017824231&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://210.16.164.53:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1780017824231&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "reason": null}}, {"spider": "爱奇艺", "file": "爱奇艺.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.382, "init": 0.017, "home": 3572.051, "category": 763.088, "detail": 98.707, "player": 0.002, "url_check": 112.886, "total": 4560.302}, "counts": {"classes": 11, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "pcw:1", "vod_id": "pcw:1$8749724257339400", "flag": "爱奇艺", "play_id": "http://www.iqiyi.com/v_2eyobhckg9w.html"}, "player": {"parse": 1, "url": "http://www.iqiyi.com/v_2eyobhckg9w.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.iqiyi.com/v_2eyobhckg9w.html", "reason": null}}, {"spider": "独播库", "file": "独播库.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.539, "init": 0.001, "home": 0.0, "category": 7395.895, "detail": 338.245, "player": 8992.589, "url_check": 239.561, "total": 16971.391}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "143579", "flag": "独播库", "play_id": "143579-1-1"}, "player": {"parse": 0, "url": "https://vid.dbokutv.com/20260423/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHdTcyo5xOy6ejRNDXSIqmCIqmCJT5GJKvC3OkRN0q/chunklist.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vid.dbokutv.com/20260423/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHdTcyo5xOy6ejRNDXSIqmCIqmCJT5GJKvC3OkRN0q/chunklist.m3u8", "reason": null}}, {"spider": "猫猫4K", "file": "猫猫4K.txt", "success": false, "failed_stage": "player", "error": "playerContent 未返回播放地址", "traceback": null, "timings_ms": {"module_load": 6.807, "init": 256.492, "home": 220.941, "category": 595.541, "detail": 127.753, "player": 354.72, "url_check": 0.0, "total": 2767.278}, "counts": {"classes": 5, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "60244", "flag": "火猫⚡蓝光", "play_id": "NBY-XMYAES77e03f39d2956635c48df0a1e4b4c7dc38db80aeec1df3cbb9a9faff7e6ed30828f47b2efcabd76984954a7d2aa26c01|ed68be5df66bdc4022e7f18715e8a934@@@NBY"}, "player": {"parse": 0, "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.156, "init": 0.0, "home": 0.001, "category": 7277.729, "detail": 10015.21, "player": 0.004, "url_check": 929.457, "total": 18238.94}, "counts": {"classes": 8, "category_videos": 70, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "125580", "flag": "百度#玩偶哥哥", "play_id": "https://pan.baidu.com/s/1MjxdQQe7RTpj-fVn10-DQA?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1MjxdQQe7RTpj-fVn10-DQA?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=MjxdQQe7RTpj-fVn10-DQA&pwd=wogg", "reason": null}}, {"spider": "玩偶聚合", "file": "玩偶聚合.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 34.71, "init": 0.001, "home": 2.464, "category": 20664.342, "detail": 845.702, "player": 0.002, "url_check": 956.781, "total": 22504.77}, "counts": {"classes": 10, "category_videos": 70, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "site_wanou", "vod_id": "site:wanou:/voddetail/124546.html", "flag": "百度#玩偶", "play_id": "https://pan.baidu.com/s/1CvrInDz-4iEEcZzekTr_Ig?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1CvrInDz-4iEEcZzekTr_Ig?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=CvrInDz-4iEEcZzekTr_Ig&pwd=wogg", "reason": null}}, {"spider": "瓜子", "file": "瓜子.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.467, "init": 0.001, "home": 0.01, "category": 10906.88, "detail": 19307.164, "player": 483.674, "url_check": 51.798, "total": 30755.068}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "128782", "flag": "1080", "play_id": "vod_d_id=128782&vurl_id=3323715&domain_type=8&resolution=1080&type=play"}, "player": {"parse": 0, "url": "https://vd.jiunuow.com/0c4e4ba1a079390e23d13bccd4db0ff3/20260529092417/decry/vd/20260311/MjYwZjE1YTRkO/172631/1998_1080/aac/h264/hls/decrypt/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vd.jiunuow.com/0c4e4ba1a079390e23d13bccd4db0ff3/20260529092417/decry/vd/20260311/MjYwZjE1YTRkO/172631/1998_1080/aac/h264/hls/decrypt/index.m3u8", "reason": null}}, {"spider": "百度短剧", "file": "百度短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.121, "init": 0.001, "home": 405.971, "category": 253.151, "detail": 547.26, "player": 255.658, "url_check": 65.138, "total": 1530.737}, "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": 3.84, "init": 0.001, "home": 304.058, "category": 243.478, "detail": 280.06, "player": 0.025, "url_check": 546.75, "total": 1378.811}, "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": 6.392, "init": 0.001, "home": 0.001, "category": 212.468, "detail": 244.825, "player": 222.053, "url_check": 1058.161, "total": 1744.818}, "counts": {"classes": 4, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "/", "vod_id": "118943", "flag": "百度1", "play_id": "push://https://www.seedhub.cc/link_start/?redirect_to=pan_id_582338&movie_title=❤️❤️❤️【低智商犯罪】【4K 1080P】更新于 ✅ 今天"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1peTZUHSqI7G9IV8sDes97g?pwd=ojmk", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=peTZUHSqI7G9IV8sDes97g&pwd=ojmk", "reason": null}}, {"spider": "盘链", "file": "盘链.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.824, "init": 0.025, "home": 0.001, "category": 19464.563, "detail": 409.253, "player": 0.002, "url_check": 918.506, "total": 20804.647}, "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": 23.123, "init": 459.446, "home": 0.122, "category": 473.476, "detail": 302.31, "player": 0.004, "url_check": 78.543, "total": 1337.982}, "counts": {"classes": 11, "category_videos": 77, "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": 3.611, "init": 0.0, "home": 0.0, "category": 331.806, "detail": 765.568, "player": 0.005, "url_check": 959.968, "total": 2061.325}, "counts": {"classes": 2, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "https://sm3.cc/?id=53013", "flag": "百度", "play_id": "https://pan.baidu.com/s/1qqHzohAo-ib8SRAVKmQEMg?pwd=6666"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1qqHzohAo-ib8SRAVKmQEMg?pwd=6666", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=qqHzohAo-ib8SRAVKmQEMg&pwd=6666", "reason": null}}, {"spider": "糯米", "file": "糯米.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.322, "init": 0.001, "home": 329.532, "category": 277.631, "detail": 9548.662, "player": 9043.406, "url_check": 175.746, "total": 40233.653}, "counts": {"classes": 5, "category_videos": 168, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "dianying", "vod_id": "/vod/63169.html", "flag": "FF", "play_id": "/play/63169-1-1.html"}, "player": {"parse": 1, "url": "https://www.nmdvd.top/jx/player.php?vid=fsnp7oRf0stE5Ad9uBOTam5SbktxRUxYOXV6ckU5MWRWVTI2b0dTR2FIb3ZaaVU0dGpEVkg0QW85M3lKWWhpSmpsVUNqNmp3akJaWTgzUWJsQXhwckpSQU9ya0VUaFFuQ29qSjZUdkd4T2xqZmlqeDBJMWw2b0VUUUZUaXdNVm1KMUcxUXlYemtyMTVPcWxTUzJXeFpSdTZKc1prOHhiYUkvRDZKWU03OWVlOERDcTZ5Vzhoa1VvNnZra1JJQk51Z0V3TmRVMFFPczJtQmlYaw%3D%3D", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.nmdvd.top/jx/player.php?vid=fsnp7oRf0stE5Ad9uBOTam5SbktxRUxYOXV6ckU5MWRWVTI2b0dTR2FIb3ZaaVU0dGpEVkg0QW85M3lKWWhpSmpsVUNqNmp3akJaWTgzUWJsQXhwckpSQU9ya0VUaFFuQ29qSjZUdkd4T2xqZmlqeDBJMWw2b0VUUUZUaXdNVm1KMUcxUXlYemtyMTVPcWxTUzJXeFpSdTZKc1prOHhiYUkvRDZKWU03OWVlOERDcTZ5Vzhoa1VvNnZra1JJQk51Z0V3TmRVMFFPczJtQmlYaw%3D%3D", "reason": null}}, {"spider": "网易云音乐", "file": "网易云音乐.txt", "success": false, "failed_stage": "player", "error": "playerContent 未返回播放地址", "traceback": null, "timings_ms": {"module_load": 4.695, "init": 0.001, "home": 406.08, "category": 430.657, "detail": 0.005, "player": 357.441, "url_check": 0.0, "total": 1926.498}, "counts": {"classes": 62, "category_videos": 100, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/discover/toplist?id=3779629", "vod_id": "3382908505@玻璃@Gareth.T👉MV", "flag": "网易云音乐", "play_id": "3382908505"}, "player": {"parse": 0, "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.205, "init": 0.0, "home": 0.0, "category": 31373.402, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 65049.767}, "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": 7.009, "init": 0.001, "home": 129.146, "category": 289.71, "detail": 1134.851, "player": 0.003, "url_check": 663.73, "total": 2225.291}, "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": 7.984, "init": 0.001, "home": 0.001, "category": 425.229, "detail": 196.826, "player": 0.007, "url_check": 135.879, "total": 766.424}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "6012", "flag": "夸克#至臻", "play_id": "https://pan.quark.cn/s/3e059b2568e6"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/3e059b2568e6", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/3e059b2568e6", "reason": null}}, {"spider": "茶杯狐", "file": "茶杯狐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.035, "init": 0.001, "home": 8875.222, "category": 8789.149, "detail": 7667.981, "player": 16307.055, "url_check": 2029.59, "total": 43675.022}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "detail/video/121240", "flag": "FF有广", "play_id": "play/121240-1-1"}, "player": {"parse": 0, "url": "https://vip.ffzy-plays.com/20260528/54076_b6d496c4/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.ffzy-plays.com/20260528/54076_b6d496c4/index.m3u8", "reason": null}}, {"spider": "虎斑", "file": "虎斑.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.154, "init": 0.001, "home": 0.001, "category": 6674.01, "detail": 6726.097, "player": 0.013, "url_check": 154.455, "total": 13562.118}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "457691", "flag": "夸克#虎斑", "play_id": "https://pan.quark.cn/s/3877233308b9"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/3877233308b9", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/3877233308b9", "reason": null}}, {"spider": "蜡笔", "file": "蜡笔.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.907, "init": 0.001, "home": 0.001, "category": 8129.401, "detail": 6751.122, "player": 0.005, "url_check": 971.607, "total": 15859.512}, "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": 4.919, "init": 0.001, "home": 0.001, "category": 693.9, "detail": 196.126, "player": 304.936, "url_check": 1151.747, "total": 2352.203}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "415027", "flag": "蓝光专线4", "play_id": "play/415027-2-0"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260528/27308_df1587ed/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.phimgood.com/20260528/27308_df1587ed/index.m3u8", "reason": null}}, {"spider": "视界", "file": "视界.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.338, "init": 0.001, "home": 10350.607, "category": 8805.495, "detail": 7774.449, "player": 8794.359, "url_check": 281.0, "total": 42160.902}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "21", "vod_id": "57584", "flag": "HD2K源①", "play_id": "parse_api=d9f9042eda382ed2f70e1768a99bb4dd&url=fL36sz6UhcIiClLx8K6VZ3gPlTXPRQ6Ikk3JVcBUBVbyoV7ccrYpocEbDvstDuID&token=68eed0f001fb5bc52bc979bddcd719df|你又被杀了呢,侦探大人|1"}, "player": {"parse": 0, "url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/0a9adf1d-47dc-4366-bad0-e7985727c6ab.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=v3BoEgjDU8P4698XtcECONBAsdY%3D&Expires=1780018183&x-amz-FSIZE=51324&x-amz-UFID=424801243822031785", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-bjcy-fy-person01.bjoss.ctyunxs.cn/PERSONCLOUD/0a9adf1d-47dc-4366-bad0-e7985727c6ab.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=v3BoEgjDU8P4698XtcECONBAsdY%3D&Expires=1780018183&x-amz-FSIZE=51324&x-amz-UFID=424801243822031785", "reason": null}}, {"spider": "路漫漫", "file": "路漫漫.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 4.142, "init": 0.001, "home": 0.0, "category": 204.769, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 407.929}, "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": 8.2, "init": 0.001, "home": 406.111, "category": 94.616, "detail": 3475.564, "player": 121.692, "url_check": 43.032, "total": 4150.247}, "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://car-lv.kuwo.cn/3acbd3a2f76ac7c8faf2431561894469/6a18eab6/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://car-lv.kuwo.cn/3acbd3a2f76ac7c8faf2431561894469/6a18eab6/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": 16.611, "init": 398.456, "home": 247.76, "category": 247.299, "detail": 259.876, "player": 345.831, "url_check": 26.084, "total": 1543.59}, "counts": {"classes": 12, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "recommend", "vod_id": "610573313", "flag": "酷狗音乐", "play_id": "610573313"}, "player": {"parse": 0, "url": "http://fsdg360.tx.kugou.com/202605290924/1bdb4d777d261957d2be6cd18b3b8731/v3/695cbb7628b1494715d211aeebe9487c/yp/p_0_480426/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx610573313_qu128_s3893814686.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://fsdg360.tx.kugou.com/202605290924/1bdb4d777d261957d2be6cd18b3b8731/v3/695cbb7628b1494715d211aeebe9487c/yp/p_0_480426/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx610573313_qu128_s3893814686.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "reason": null}}, {"spider": "金牌", "file": "金牌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.619, "init": 0.001, "home": 574.318, "category": 230.906, "detail": 252.973, "player": 226.878, "url_check": 415.508, "total": 1704.864}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "143230", "flag": "金牌线路", "play_id": "143230@1271963"}, "player": {"parse": 0, "url": "https://ppvod01.kqgfbs.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?t=6a1914e3&whip=171.212.167.174&sign=2e419ce008d91595105982a17bbfe9213e92230a", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://ppvod01.kqgfbs.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?t=6a1914e3&whip=171.212.167.174&sign=2e419ce008d91595105982a17bbfe9213e92230a", "reason": null}}, {"spider": "闪电", "file": "闪电.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 16.802, "init": 0.001, "home": 0.001, "category": 355.519, "detail": 4656.503, "player": 0.008, "url_check": 163.257, "total": 5192.501}, "counts": {"classes": 5, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "185959", "flag": "夸克#闪电", "play_id": "https://pan.quark.cn/s/439e884b528b"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/439e884b528b", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/439e884b528b", "reason": null}}, {"spider": "飞快TV", "file": "飞快TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.492, "init": 0.001, "home": 0.0, "category": 8089.1, "detail": 949.403, "player": 952.458, "url_check": 813.67, "total": 10811.712}, "counts": {"classes": 4, "category_videos": 40, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "241706", "flag": "茅台资源1", "play_id": "/vodplay/241706-1-1.html"}, "player": {"parse": 0, "url": "https://vodcnd11.myqqdd.com/20260528/WIT1seb1/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vodcnd11.myqqdd.com/20260528/WIT1seb1/index.m3u8", "reason": null}}, {"spider": "魔方APP", "file": "魔方APP.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 6.904, "init": 0.001, "home": 3761.654, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 3768.737}, "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": 4.135, "init": 0.001, "home": 0.001, "category": 5357.645, "detail": 263.382, "player": 0.03, "url_check": 479.573, "total": 6105.521}, "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 705, 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 296, 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.537, "init": 0.002, "home": 3512.8, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 3522.849}, "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>
|