563 lines
104 KiB
HTML
563 lines
104 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-13T19:27:25+08:00", "max_workers": 16, "total_duration_ms": 88051.086, "summary": {"total": 71, "success": 58, "failed": 13, "success_rate": 0.8169, "stage_failures": {"module_load": 0, "init": 0, "home": 1, "category": 1, "detail": 1, "player": 1, "url_check": 2, "unexpected": 7}}, "results": [{"spider": "4K指南", "file": "4K指南.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 165.736, "init": 0.0, "home": 0.003, "category": 2814.924, "detail": 3461.138, "player": 0.004, "url_check": 174.57, "total": 6679.639}, "counts": {"classes": 5, "category_videos": 50, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zuixin", "vod_id": "20102", "flag": "夸克网盘", "play_id": "push://https://pan.quark.cn/s/c398a555048f"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/c398a555048f", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/c398a555048f", "reason": null}}, {"spider": "6V磁力", "file": "6V磁力.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 128.783, "init": 0.006, "home": 0.001, "category": 2533.381, "detail": 2358.238, "player": 0.002, "url_check": 0.059, "total": 5020.777}, "counts": {"classes": 12, "category_videos": 18, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "dianshiju/guoju", "vod_id": "/dianshiju/guoju/28661.html", "flag": "01-07.1080p.HD国语中字无水印.mkv", "play_id": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "AAZ音乐", "file": "AAZ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 155.466, "init": 0.002, "home": 4584.245, "category": 4554.871, "detail": 3438.429, "player": 3445.381, "url_check": 329.602, "total": 16565.71}, "counts": {"classes": 6, "category_videos": 60, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "new", "vod_id": "song:e0f3c77fa564632f924f77fc5943ba7e", "flag": "AAZ音乐", "play_id": "song:e0f3c77fa564632f924f77fc5943ba7e"}, "player": {"parse": 0, "url": "https://s.5bb3.com/m4a/3374e5b4a4d9d8e8f967976747b5c2ca.m4a", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://lv-sycdn.kuwo.cn/cdcd36d4e15f4e427cd228c0b2681a02/6a04602d/resource/1307392909/trackmedia/C200000W91kQ0efKLA.m4a?from=vip", "reason": null}}, {"spider": "PPnix", "file": "PPnix.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.ppnix.com', port=443): Max retries exceeded with url: /cn/movie/8147.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.ppnix.com', port=443) at 0x70e061e40f50>, 'Connection to www.ppnix.com timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.ppnix.com', port=443) at 0x70e061e40f50>, 'Connection to www.ppnix.com timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.ppnix.com', port=443): Max retries exceeded with url: /cn/movie/8147.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.ppnix.com', port=443) at 0x70e061e40f50>, 'Connection to www.ppnix.com timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 428, in _validate_from_tid\n detail_result = _run_timed(result[\"timings_ms\"], \"detail\", spider.detailContent, clock, [vod_id])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/PPnix.txt\", line 220, in detailContent\n File \"/home/harold/workspace/tvbox-resources/py/PPnix.txt\", line 119, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.ppnix.com', port=443): Max retries exceeded with url: /cn/movie/8147.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.ppnix.com', port=443) at 0x70e061e40f50>, 'Connection to www.ppnix.com timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 244.58, "init": 0.001, "home": 0.001, "category": 3150.61, "detail": 10013.465, "player": 0.0, "url_check": 0.0, "total": 13410.632}, "counts": {"classes": 2, "category_videos": 24, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": "movie/8147.html", "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "QQ音乐", "file": "QQ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 208.289, "init": 0.008, "home": 0.003, "category": 158.72, "detail": 219.426, "player": 544.431, "url_check": 255.479, "total": 2700.181}, "counts": {"classes": 6, "category_videos": 44, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "top", "vod_id": "top:135", "flag": "QQ音乐", "play_id": "qqmusic:004B3lys3Yy5Eq:664343612|孤剑吟 - 周深"}, "player": {"parse": 0, "url": "https://isure.stream.qqmusic.qq.com/M500004B3lys3Yy5Eq.mp3?guid=fe1ea8286e5d20fb93dda696f27b98fc&vkey=1C0556AB0A9BA1C558BDB6105055D38806424A1FE08510A5DDDDCA2B76B0323447E973F11AC69D747E0553CD57FAD335C5A0143B574358AA__v2b94c4de&uin=&fromtag=119042&src=M50000458tCR4OeDga.mp3&redirect=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://isure.stream.qqmusic.qq.com/M500004B3lys3Yy5Eq.mp3?guid=fe1ea8286e5d20fb93dda696f27b98fc&vkey=1C0556AB0A9BA1C558BDB6105055D38806424A1FE08510A5DDDDCA2B76B0323447E973F11AC69D747E0553CD57FAD335C5A0143B574358AA__v2b94c4de&uin=&fromtag=119042&src=M50000458tCR4OeDga.mp3&redirect=1", "reason": null}}, {"spider": "libvio", "file": "libvio.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 145.28, "init": 0.001, "home": 0.002, "category": 3193.493, "detail": 3250.053, "player": 0.009, "url_check": 178.211, "total": 6835.156}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "index", "vod_id": "714893349", "flag": "夸克", "play_id": "https://pan.quark.cn/s/ef57107cd16e||7"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/ef57107cd16e||7", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/ef57107cd16e%7C%7C7", "reason": null}}, {"spider": "youknow", "file": "youknow.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 123.109, "init": 0.001, "home": 0.001, "category": 3401.19, "detail": 4528.185, "player": 4201.983, "url_check": 2929.468, "total": 15185.231}, "counts": {"classes": 7, "category_videos": 228, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "134897", "flag": "YouKnowTV", "play_id": "eyJ2b2RfaWQiOiIxMzQ4OTciLCJlcGlzb2RlX2luZGV4IjoxLCJ0aXRsZSI6IuesrDAx6ZuGIiwiY2FuZGlkYXRlcyI6W3sic291cmNlIjoi57q_6LevMSIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8xMzQ4OTctMS0xLyJ9LHsic291cmNlIjoi57q_6LevMiIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8xMzQ4OTctMS0xLyJ9LHsic291cmNlIjoi57q_6LevMTY1Iiwic291cmNlX2lkIjoiMiIsImVwaXNvZGVfdXJsIjoiaHR0cHM6Ly93d3cueW91a25vdy50di9wLzEzNDg5Ny0yLTEvIn0seyJzb3VyY2UiOiLnur_ot68xNjYiLCJzb3VyY2VfaWQiOiIyIiwiZXBpc29kZV91cmwiOiJodHRwczovL3d3dy55b3Vrbm93LnR2L3AvMTM0ODk3LTItMS8ifSx7InNvdXJjZSI6Iue6v-i3rzMyNiIsInNvdXJjZV9pZCI6IjQiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8xMzQ4OTctNC0xLyJ9LHsic291cmNlIjoi57q_6LevMzI3Iiwic291cmNlX2lkIjoiNCIsImVwaXNvZGVfdXJsIjoiaHR0cHM6Ly93d3cueW91a25vdy50di9wLzEzNDg5Ny00LTEvIn0seyJzb3VyY2UiOiLnur_ot680NjkiLCJzb3VyY2VfaWQiOiIzIiwiZXBpc29kZV91cmwiOiJodHRwczovL3d3dy55b3Vrbm93LnR2L3AvMTM0ODk3LTMtMS8ifSx7InNvdXJjZSI6Iue6v-i3rzQ3MCIsInNvdXJjZV9pZCI6IjMiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8xMzQ4OTctMy0xLyJ9XX0"}, "player": {"parse": 0, "url": "https://vip.dytt-cinema.com/20250218/5897_f9fd5ec4/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vodsv2.jimxtc.com/20250218/5897_f9fd5ec4/index.m3u8", "reason": null}}, {"spider": "七味", "file": "七味.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 177.757, "init": 0.006, "home": 0.002, "category": 3623.347, "detail": 4632.91, "player": 0.003, "url_check": 199.287, "total": 8671.168}, "counts": {"classes": 5, "category_videos": 42, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "435293", "flag": "夸克1", "play_id": "https://pan.quark.cn/s/40aa34f934fd"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/40aa34f934fd", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/40aa34f934fd", "reason": null}}, {"spider": "不太灵", "file": "不太灵.txt", "success": false, "failed_stage": "player", "error": "playerContent 未返回播放地址", "traceback": null, "timings_ms": {"module_load": 165.106, "init": 0.001, "home": 8456.142, "category": 7495.478, "detail": 7910.747, "player": 0.002, "url_check": 0.0, "total": 38619.551}, "counts": {"classes": 5, "category_videos": 25, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "35517044", "flag": "quark#1", "play_id": "quark"}, "player": {"parse": 0, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "世纪音乐", "file": "世纪音乐.txt", "success": false, "failed_stage": "detail", "error": "详情缺少播放源或播放列表", "traceback": null, "timings_ms": {"module_load": 144.595, "init": 0.001, "home": 200.655, "category": 0.006, "detail": 140.579, "player": 0.0, "url_check": 0.0, "total": 778.04}, "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": 154.915, "init": 0.001, "home": 0.002, "category": 2128.351, "detail": 4402.882, "player": 3960.149, "url_check": 2766.646, "total": 13486.021}, "counts": {"classes": 14, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zgjun", "vod_id": "/play/ch44qq3vc", "flag": "两个BT", "play_id": "eyJwaWQiOiIvcGxheS9jaDQ0cXEzdmMiLCJzaWQiOiIvcGxheS9jaDQ0cXEzdmMiLCJuYW1lIjoiMSJ9"}, "player": {"parse": 0, "url": "https://zijieapi.douyinbyte.com/m3u8/8e5d00c7e0cdaf9832d8a2aeda0d020e.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://zijieapi.douyinbyte.com/m3u8/8e5d00c7e0cdaf9832d8a2aeda0d020e.m3u8", "reason": null}}, {"spider": "乌云影视", "file": "乌云影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 147.366, "init": 0.001, "home": 3905.663, "category": 2075.24, "detail": 6799.059, "player": 0.018, "url_check": 4310.435, "total": 17297.425}, "counts": {"classes": 7, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "movie", "vod_id": "483203", "flag": "乌云影视", "play_id": "eyJtZWRpYUlkIjogIjQ4MzIwMyIsICJzZWFzb25ObyI6IDEsICJlcE5vIjogMSwgInZpZGVvSWQiOiAxNTc2MjgzMiwgInBsYXlVcmwiOiAiaHR0cHM6Ly9kMWpkbm1rYzFuNWNuNC5jbG91ZGZyb250Lm5ldC9nZW5fb3ZlcnNlYXMvaHR0cHM6Ly9zMi5iZmxsdmlwLmNvbS92aWRlby95YW54aWF4aW5nL2E2ZWY4NTRjMGMxZi9pbmRleC5tM3U4IiwgIm5hbWUiOiAi56ysMembhiDpq5jmuIUifQ"}, "player": {"parse": 0, "url": "https://d1jdnmkc1n5cn4.cloudfront.net/gen_overseas/https://s2.bfllvip.com/video/yanxiaxing/a6ef854c0c1f/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://d1jdnmkc1n5cn4.cloudfront.net/hls_overseas/7ccc6ab9426860ed113e17c19fec40dcf0551bc8.m3u8", "reason": null}}, {"spider": "乐兔", "file": "乐兔.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.letu.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='www.letu.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 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/乐兔.txt\", line 117, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/乐兔.txt\", line 72, in _request_html\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.letu.me', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 165.632, "init": 0.002, "home": 0.001, "category": 10052.311, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10282.139}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "二小", "file": "二小.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 155.768, "init": 0.001, "home": 0.001, "category": 2048.181, "detail": 4572.095, "player": 0.007, "url_check": 159.821, "total": 11385.019}, "counts": {"classes": 4, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "/index.php/vod/detail/id/11464.html", "flag": "夸克#二小", "play_id": "https://pan.quark.cn/s/463c9c74e606"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/463c9c74e606", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/463c9c74e606", "reason": null}}, {"spider": "人人电影", "file": "人人电影.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.rrdynb.com', port=443): Max retries exceeded with url: /movie/ (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.rrdynb.com', port=443) at 0x70e062828050>, 'Connection to www.rrdynb.com timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.rrdynb.com', port=443) at 0x70e062828050>, 'Connection to www.rrdynb.com timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.rrdynb.com', port=443): Max retries exceeded with url: /movie/ (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.rrdynb.com', port=443) at 0x70e062828050>, 'Connection to www.rrdynb.com timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/人人电影.txt\", line 205, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/人人电影.txt\", line 118, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.rrdynb.com', port=443): Max retries exceeded with url: /movie/ (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.rrdynb.com', port=443) at 0x70e062828050>, 'Connection to www.rrdynb.com timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 118.389, "init": 0.001, "home": 0.001, "category": 10015.369, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10138.544}, "counts": {"classes": 4, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "movie/list_2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "人人视频", "file": "人人视频.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 150.81, "init": 0.001, "home": 280.97, "category": 287.524, "detail": 276.193, "player": 419.217, "url_check": 354.951, "total": 3377.925}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "MOVIE", "vod_id": "56609", "flag": "人人专线", "play_id": "56609@379809"}, "player": {"parse": 0, "url": "https://a3fkpcul3b4qlid.302.fledgecloud.com:56782/zj-302-cdn.bwcgee.cn/d03d598a130371f188926733a68f0402/cc6df813bad94a13bce4851918016715-2498cc62f9f8dad4c656ed2c1c108944-ld.mp4?auth_key=1778686048-ddb91a718baf42dcf1acfb27b11ff106-0-76886824821d9b4258c5e1e0e332a209&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=a02f54fc85bf4d59a6ad837a2f6b4983&hevc=false&seasonId=56609", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://a3fkpcul3b4qlid.302.fledgecloud.com:56782/zj-302-cdn.bwcgee.cn/d03d598a130371f188926733a68f0402/cc6df813bad94a13bce4851918016715-2498cc62f9f8dad4c656ed2c1c108944-ld.mp4?auth_key=1778686048-ddb91a718baf42dcf1acfb27b11ff106-0-76886824821d9b4258c5e1e0e332a209&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=a02f54fc85bf4d59a6ad837a2f6b4983&hevc=false&seasonId=56609", "reason": "HTTP 403"}}, {"spider": "优酷", "file": "优酷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.339, "init": 0.001, "home": 0.001, "category": 382.89, "detail": 583.069, "player": 0.003, "url_check": 266.281, "total": 1244.053}, "counts": {"classes": 6, "category_videos": 23, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "电视剧", "vod_id": "show:dccc1a382ea3456eaa77", "flag": "优酷", "play_id": "https://v.youku.com/v_show/id_XNjUxODQ1MzE1Ng==.html"}, "player": {"parse": 1, "url": "https://v.youku.com/v_show/id_XNjUxODQ1MzE1Ng==.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.youku.com/v_show/id_XNjUxODQ1MzE1Ng==.html", "reason": null}}, {"spider": "低端影视", "file": "低端影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.273, "init": 0.001, "home": 0.001, "category": 2410.402, "detail": 4810.027, "player": 0.01, "url_check": 178.536, "total": 9914.637}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "series", "vod_id": "movie/mia", "flag": "quark", "play_id": "https://pan.quark.cn/s/df592192c290"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/df592192c290", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/df592192c290", "reason": null}}, {"spider": "修罗", "file": "修罗.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.778, "init": 0.0, "home": 0.001, "category": 4369.457, "detail": 3887.447, "player": 0.006, "url_check": 0.061, "total": 20281.621}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "movie", "vod_id": "jingsong/3939", "flag": "磁力合集", "play_id": "magnet:?xt=urn:btih:ed3eb4c2a243e7679cf23198f56f1b1234b47593"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:ed3eb4c2a243e7679cf23198f56f1b1234b47593", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:ed3eb4c2a243e7679cf23198f56f1b1234b47593", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "凡客TV", "file": "凡客TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 15.018, "init": 0.0, "home": 0.001, "category": 4055.675, "detail": 2681.995, "player": 6628.435, "url_check": 7042.972, "total": 20424.518}, "counts": {"classes": 8, "category_videos": 32, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "b759a032caab0687", "flag": "高速线路", "play_id": "{\"movie_id\":\"b759a032caab0687\",\"link_id\":\"ee2850af60c6cb015c2589a05c922a37\",\"line_id\":\"line1\",\"line_name\":\"高速线路\",\"episode_name\":\"1080p\",\"type\":\"switch\",\"page\":\"https://fktv.me/movie/detail/b759a032caab0687\"}"}, "player": {"parse": 0, "url": "https://fktv.me/ysapi/m3u8/p/7118da45390bde35674554d3fe04a2af.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fktv.me/ysapi/m3u8/p/7118da45390bde35674554d3fe04a2af.m3u8", "reason": null}}, {"spider": "剧圈圈", "file": "剧圈圈.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.246, "init": 0.001, "home": 0.0, "category": 6480.859, "detail": 4543.522, "player": 15695.956, "url_check": 5101.826, "total": 51879.458}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "dianying", "vod_id": "vod/62990", "flag": "FF备用", "play_id": "play/62990-1-1"}, "player": {"parse": 1, "url": "https://www.jqqzx.cc/play/62990-1-1.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.jqqzx.one/play/62990-1-1.html", "reason": null}}, {"spider": "剧迷", "file": "剧迷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.519, "init": 0.0, "home": 0.001, "category": 2588.177, "detail": 1510.901, "player": 2068.321, "url_check": 2929.782, "total": 9102.222}, "counts": {"classes": 6, "category_videos": 150, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "443094", "flag": "高清线路 ᴴᴰ", "play_id": "443094-11-1"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260511/26651_2f4d94b1/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.phimgood.com/20260511/26651_2f4d94b1/index.m3u8", "reason": null}}, {"spider": "博看听书", "file": "博看听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.935, "init": 0.001, "home": 3210.093, "category": 272.312, "detail": 813.596, "player": 0.002, "url_check": 301.679, "total": 4605.006}, "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": false, "failed_stage": "unexpected", "error": "('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))", "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 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 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 )\nConnectionResetError: [Errno 104] Connection reset by peer\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.', ConnectionResetError(104, 'Connection reset by peer'))\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 696, 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 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/双星.txt\", line 46, 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.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n", "timings_ms": {"module_load": 3.647, "init": 5038.333, "home": 0.0, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 5043.516}, "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": 9.485, "init": 79.107, "home": 0.003, "category": 1868.721, "detail": 6373.311, "player": 1770.512, "url_check": 143.502, "total": 10245.726}, "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=4f2c7d14aa8b73ea264461ea70c1b380&buy_key=FM&token=1795×tamp=1778671665&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=4f2c7d14aa8b73ea264461ea70c1b380&buy_key=FM&token=1795×tamp=1778671665&duration=453", "reason": null}}, {"spider": "听友FM", "file": "听友FM.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.79, "init": 0.0, "home": 3372.563, "category": 2429.316, "detail": 4674.685, "player": 5620.049, "url_check": 166.282, "total": 16272.665}, "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=1778669301&sign=d970532d034c8f7776037d196954dac8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778669301&sign=d970532d034c8f7776037d196954dac8", "reason": null}}, {"spider": "咕咕动漫", "file": "咕咕动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.214, "init": 0.005, "home": 2018.914, "category": 2033.801, "detail": 3168.185, "player": 4320.716, "url_check": 110.82, "total": 11660.205}, "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=1809775667&x-signature=cOUgkhpjJGd14PNpj8m5wXlj1ik%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=1809775667&x-signature=cOUgkhpjJGd14PNpj8m5wXlj1ik%3D", "reason": null}}, {"spider": "四万影视", "file": "四万影视.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 796, in connect\n sock_and_verified = _ssl_wrap_socket_and_match_hostname(\n sock=sock,\n ...<14 lines>...\n assert_fingerprint=self.assert_fingerprint,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 975, in _ssl_wrap_socket_and_match_hostname\n ssl_sock = ssl_wrap_socket(\n sock=sock,\n ...<8 lines>...\n tls_in_tls=tls_in_tls,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/ssl_.py\", line 483, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\nurllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 412, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 238, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 212, in _api_get\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n", "timings_ms": {"module_load": 3.66, "init": 0.0, "home": 0.001, "category": 1876.505, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 1881.709}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "20", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "在线之家", "file": "在线之家.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.344, "init": 0.001, "home": 0.001, "category": 1920.491, "detail": 8049.907, "player": 4356.842, "url_check": 247.839, "total": 14581.197}, "counts": {"classes": 6, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "voddetail/4601.html", "flag": "zxzj", "play_id": "vodplay/4601-1-1.html"}, "player": {"parse": 0, "url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=kX4KsTiswxIyP2349mM9Tu5mVl8%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778676482&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=kX4KsTiswxIyP2349mM9Tu5mVl8%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778676482&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "reason": null}}, {"spider": "多多", "file": "多多.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.959, "init": 0.001, "home": 0.001, "category": 17846.619, "detail": 16726.765, "player": 0.003, "url_check": 985.472, "total": 35563.31}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/9451.html", "flag": "百度#多多", "play_id": "https://pan.baidu.com/s/1shl4w4dRUpSfwkkyQjUDBw?pwd=yyds"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1shl4w4dRUpSfwkkyQjUDBw?pwd=yyds", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=shl4w4dRUpSfwkkyQjUDBw&pwd=yyds", "reason": null}}, {"spider": "如意资源", "file": "如意资源.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.202, "init": 0.001, "home": 0.006, "category": 4732.997, "detail": 2080.095, "player": 0.01, "url_check": 4226.008, "total": 11044.442}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "77018", "flag": "rym3u8", "play_id": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8"}, "player": {"parse": 0, "url": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8", "reason": null}}, {"spider": "布布影视", "file": "布布影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.012, "init": 0.001, "home": 0.0, "category": 5287.042, "detail": 4159.651, "player": 4474.008, "url_check": 309.522, "total": 14235.788}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "69765", "flag": "JD蓝光(1)", "play_id": "JD4K@1@JD-5f4f247d6dfbc0b5d5cb1efeaa2303790"}, "player": {"parse": 0, "url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260513T111855Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260513%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=9ad5ee5650575404e822e40576ee2373f8da8903f33e2155ab9fe74d0ceba853", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260513T111855Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260513%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=9ad5ee5650575404e822e40576ee2373f8da8903f33e2155ab9fe74d0ceba853", "reason": null}}, {"spider": "微观短剧", "file": "微观短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.335, "init": 0.02, "home": 216.98, "category": 321.283, "detail": 330.934, "player": 0.003, "url_check": 145.619, "total": 1019.001}, "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=1778671659&sign=522094c7cfdc44b0d72f0b87755723ff"}, "player": {"parse": 0, "url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778671659&sign=522094c7cfdc44b0d72f0b87755723ff", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778671659&sign=522094c7cfdc44b0d72f0b87755723ff", "reason": null}}, {"spider": "新韩剧网", "file": "新韩剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.295, "init": 0.0, "home": 0.0, "category": 2843.869, "detail": 1899.451, "player": 2733.356, "url_check": 4628.482, "total": 12110.333}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "3544", "flag": "在线云播", "play_id": "3544_1_1"}, "player": {"parse": 0, "url": "https://cdn.yzzy31-play.com/20251216/9033_3613ef1e/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzy31-play.com/20251216/9033_3613ef1e/index.m3u8", "reason": null}}, {"spider": "星星短剧", "file": "星星短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.184, "init": 0.0, "home": 0.0, "category": 429.393, "detail": 630.186, "player": 0.002, "url_check": 118.609, "total": 1181.718}, "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": 4.719, "init": 0.001, "home": 0.0, "category": 4478.467, "detail": 5488.709, "player": 0.012, "url_check": 273.883, "total": 10246.286}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "25", "vod_id": "/index.php/vod/detail/id/7874.html", "flag": "115#木偶", "play_id": "https://115cdn.com/s/swf0j3z36dh?password=f385"}, "player": {"parse": 0, "url": "https://115cdn.com/s/swf0j3z36dh?password=f385", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://115cdn.com/s/swf0j3z36dh?password=f385", "reason": null}}, {"spider": "樱花动漫", "file": "樱花动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.979, "init": 0.0, "home": 0.0, "category": 8444.902, "detail": 9259.161, "player": 5231.584, "url_check": 2166.241, "total": 35821.044}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "guoman", "vod_id": "/detail/18530/", "flag": "ikun", "play_id": "/play/18530-2-1/"}, "player": {"parse": 0, "url": "https://bfikuncdn.com/20260211/qlQsuRui/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://bfikuncdn.com/20260211/qlQsuRui/index.m3u8", "reason": null}}, {"spider": "橘子TV", "file": "橘子TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.89, "init": 5887.948, "home": 3154.93, "category": 2299.862, "detail": 3147.452, "player": 9174.223, "url_check": 4385.702, "total": 28055.826}, "counts": {"classes": 8, "category_videos": 18, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "50", "vod_id": "385943", "flag": "一起看APP", "play_id": "24861447"}, "player": {"parse": 0, "url": "https://usaydd.0rvgx279.com/m3u87/share/6937197/7133173/20260414/171420/1080/index.m3u8?sign=4db3dbe9af7bc511dda955676d1cb4d8&t=1778671682", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://usaydd.0rvgx279.com/m3u87/share/6937197/7133173/20260414/171420/1080/index.m3u8?sign=4db3dbe9af7bc511dda955676d1cb4d8&t=1778671682", "reason": null}}, {"spider": "欧歌", "file": "欧歌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.512, "init": 0.001, "home": 0.0, "category": 2104.245, "detail": 4955.961, "player": 0.009, "url_check": 1074.474, "total": 14555.095}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "/index.php/vod/detail/id/29840.html", "flag": "百度", "play_id": "https://pan.baidu.com/s/1gFTpXvxoGq5D-BUkCNBsGA?pwd=8888"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1gFTpXvxoGq5D-BUkCNBsGA?pwd=8888", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=gFTpXvxoGq5D-BUkCNBsGA&pwd=8888", "reason": null}}, {"spider": "河马短剧", "file": "河马短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.72, "init": 0.001, "home": 379.831, "category": 637.885, "detail": 1484.225, "player": 0.023, "url_check": 89.567, "total": 2598.307}, "counts": {"classes": 10, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "462", "vod_id": "/drama/41000186435@@听见胎宝心声后,我逆袭了", "flag": "河马剧场", "play_id": "https://dzzt-video.cbread.cn/eb652c82dc2ed8072f7b02ff5006c4ef/6a05ab30/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4"}, "player": {"parse": 0, "url": "https://dzzt-video.cbread.cn/eb652c82dc2ed8072f7b02ff5006c4ef/6a05ab30/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://dzzt-video.cbread.cn/eb652c82dc2ed8072f7b02ff5006c4ef/6a05ab30/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4", "reason": null}}, {"spider": "滴答影视", "file": "滴答影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.275, "init": 0.001, "home": 0.001, "category": 3117.028, "detail": 4861.972, "player": 0.006, "url_check": 1101.883, "total": 9085.674}, "counts": {"classes": 5, "category_videos": 48, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "detail/3034", "flag": "百度", "play_id": "https://pan.baidu.com/s/1iUOPtAOz3ypj2nyY7Wv9Ww?pwd=969e"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1iUOPtAOz3ypj2nyY7Wv9Ww?pwd=969e", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=iUOPtAOz3ypj2nyY7Wv9Ww&pwd=969e", "reason": null}}, {"spider": "潮流APP", "file": "潮流APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.874, "init": 0.002, "home": 128.035, "category": 345.758, "detail": 726.129, "player": 670.764, "url_check": 119.544, "total": 1995.778}, "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://beyond8888888.ucyy.cn/2026-05-13/125_78402_NBY-e84585334a25c5b49078dfac81549a0b.m3u8?ts=1778670017-0-0-a35f8ef1dd7fbd563ae83524ae91b268", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://beyond8888888.ucyy.cn/2026-05-13/125_78402_NBY-e84585334a25c5b49078dfac81549a0b.m3u8?ts=1778670017-0-0-a35f8ef1dd7fbd563ae83524ae91b268", "reason": null}}, {"spider": "爱奇艺", "file": "爱奇艺.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.585, "init": 0.018, "home": 2944.699, "category": 1513.832, "detail": 244.923, "player": 0.001, "url_check": 244.683, "total": 4960.671}, "counts": {"classes": 11, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "pcw:1", "vod_id": "pcw:1$3136167655271600", "flag": "爱奇艺", "play_id": "http://www.iqiyi.com/v_vd55wo89uk.html"}, "player": {"parse": 1, "url": "http://www.iqiyi.com/v_vd55wo89uk.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.iqiyi.com/v_vd55wo89uk.html", "reason": null}}, {"spider": "独播库", "file": "独播库.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.26, "init": 0.001, "home": 0.001, "category": 3937.062, "detail": 2900.529, "player": 2248.937, "url_check": 1845.072, "total": 10936.539}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "144592", "flag": "独播库", "play_id": "144592-1-1"}, "player": {"parse": 0, "url": "https://vid.dbokutv.com/20260502/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsnsRsGlR7XgBMnuOdajC34jC34rD4L5CaCvBcrmD0/chunklist.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vid.dbokutv.com/20260502/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsnsRsGlR7XgBMnuOdajC34jC34rD4L5CaCvBcrmD0/chunklist.m3u8", "reason": null}}, {"spider": "玩偶哥哥", "file": "玩偶哥哥.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.817, "init": 0.001, "home": 0.0, "category": 1851.019, "detail": 4004.871, "player": 0.004, "url_check": 1072.579, "total": 6932.879}, "counts": {"classes": 8, "category_videos": 70, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/voddetail/124694.html", "flag": "百度#玩偶哥哥", "play_id": "https://pan.baidu.com/s/1P8ONb0fMzLJVFlj51D0i4Q?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1P8ONb0fMzLJVFlj51D0i4Q?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=P8ONb0fMzLJVFlj51D0i4Q&pwd=wogg", "reason": null}}, {"spider": "玩偶聚合", "file": "玩偶聚合.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.164, "init": 0.001, "home": 2.078, "category": 3249.267, "detail": 1991.062, "player": 0.003, "url_check": 1328.129, "total": 6583.544}, "counts": {"classes": 10, "category_videos": 70, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "site_wanou", "vod_id": "site:wanou:/voddetail/124686.html", "flag": "百度#玩偶", "play_id": "https://pan.baidu.com/s/1HJO75UL2Xcjau_BBZWVfMA?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1HJO75UL2Xcjau_BBZWVfMA?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=HJO75UL2Xcjau_BBZWVfMA&pwd=wogg", "reason": null}}, {"spider": "瓜子", "file": "瓜子.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.613, "init": 0.001, "home": 0.02, "category": 3542.547, "detail": 5939.235, "player": 3000.187, "url_check": 88.417, "total": 22589.209}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "128782", "flag": "720", "play_id": "vod_d_id=128782&vurl_id=3323715&domain_type=8&resolution=720&type=play"}, "player": {"parse": 0, "url": "https://vd.hxcztech.com/bad4134b7f6b3f1069f3494fac5c4133/20260513192813/decry/vd/20260311/MjYwZjE1YTRkO/172631/1332_720/aac/h264/hls/decrypt/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vd.hxcztech.com/bad4134b7f6b3f1069f3494fac5c4133/20260513192813/decry/vd/20260311/MjYwZjE1YTRkO/172631/1332_720/aac/h264/hls/decrypt/index.m3u8", "reason": null}}, {"spider": "百度短剧", "file": "百度短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.431, "init": 0.001, "home": 369.668, "category": 272.941, "detail": 627.144, "player": 294.204, "url_check": 95.955, "total": 1666.355}, "counts": {"classes": 29, "category_videos": 9, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "3", "vod_id": "9626395189336331475", "flag": "百度短剧", "play_id": "5228077877184398747|||9626395189336331475"}, "player": {"parse": 0, "url": "http://vd3.bdstatic.com/mda-rh54j6is12ydd0q3/1080p/mv_cae264_backtrack_1080p_normal/1754453773225130912/mda-rh54j6is12ydd0q3.mp4?v_from_s=haokan-ui-video-hnb", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://vd3.bdstatic.com/mda-rh54j6is12ydd0q3/1080p/mv_cae264_backtrack_1080p_normal/1754453773225130912/mda-rh54j6is12ydd0q3.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": 4.106, "init": 0.001, "home": 336.167, "category": 250.76, "detail": 291.155, "player": 0.019, "url_check": 160.943, "total": 1043.502}, "counts": {"classes": 8, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "?tagId=39765285016165", "vod_id": "thread?topicId=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": 12.251, "init": 0.001, "home": 0.001, "category": 1878.014, "detail": 1839.61, "player": 3824.789, "url_check": 1155.727, "total": 8711.158}, "counts": {"classes": 4, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "/", "vod_id": "/movies/134742/", "flag": "百度1", "play_id": "push://https://www.seedhub.cc/link_start/?redirect_to=pan_id_571535&movie_title=❤️❤️❤️【飞驰人生3】【4K 1080P】更新于 ✅ 今天"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1NiQJW0DJBw8FR_Y1_k8Yig?pwd=ojmk", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=NiQJW0DJBw8FR_Y1_k8Yig&pwd=ojmk", "reason": null}}, {"spider": "短剧优选", "file": "短剧优选.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 17.556, "init": 6316.797, "home": 0.1, "category": 470.687, "detail": 317.344, "player": 0.003, "url_check": 74.638, "total": 7197.771}, "counts": {"classes": 11, "category_videos": 75, "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.991, "init": 0.001, "home": 0.001, "category": 2153.181, "detail": 4864.781, "player": 0.005, "url_check": 176.174, "total": 7198.787}, "counts": {"classes": 2, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "https://sm3.cc/?id=50279", "flag": "夸克", "play_id": "https://pan.quark.cn/s/97510ebb28ae"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/97510ebb28ae", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/97510ebb28ae", "reason": null}}, {"spider": "糯米", "file": "糯米.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.254, "init": 0.001, "home": 801.965, "category": 1003.282, "detail": 167.372, "player": 460.831, "url_check": 369.176, "total": 2810.476}, "counts": {"classes": 7, "category_videos": 81, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/vod-type-id-1-pg-1.html", "vod_id": "/vod-detail-id-90063.html", "flag": "uvw", "play_id": "/vod-play-id-90063-src-1-num-1.html"}, "player": {"parse": 0, "url": "https://vip.123pan.cn/1853039965/dy/东北往事极恶不赦.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.123pan.cn/1853039965/dy/%E4%B8%9C%E5%8C%97%E5%BE%80%E4%BA%8B%E6%9E%81%E6%81%B6%E4%B8%8D%E8%B5%A6.m3u8", "reason": null}}, {"spider": "网易云音乐", "file": "网易云音乐.txt", "success": false, "failed_stage": "unexpected", "error": "Expecting value: line 1 column 1 (char 0)", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/models.py\", line 978, in json\n return complexjson.loads(self.text, **kwargs)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/__init__.py\", line 352, in loads\n return _default_decoder.decode(s)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/decoder.py\", line 345, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/decoder.py\", line 363, in raw_decode\n raise JSONDecodeError(\"Expecting value\", s, err.value) from None\njson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 467, in _validate_from_tid\n player_result = _run_timed(result[\"timings_ms\"], \"player\", spider.playerContent, clock, play[\"flag\"], play[\"play_id\"], [])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/网易云音乐.txt\", line 124, in playerContent\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/models.py\", line 982, in json\n raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nrequests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n", "timings_ms": {"module_load": 2.696, "init": 0.0, "home": 419.475, "category": 468.461, "detail": 0.005, "player": 198.99, "url_check": 0.0, "total": 1091.801}, "counts": {"classes": 62, "category_videos": 100, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/discover/toplist?id=19723756", "vod_id": "3326404841@枪火@宝石Gem👉MP3", "flag": "网易云音乐", "play_id": "3326404841"}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "耐视点播", "file": "耐视点播.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 4.384, "init": 0.001, "home": 0.0, "category": 5288.102, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10360.622}, "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.793, "init": 0.001, "home": 1078.602, "category": 269.765, "detail": 717.469, "player": 0.006, "url_check": 1288.727, "total": 3362.923}, "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": 4.162, "init": 0.001, "home": 0.0, "category": 3237.67, "detail": 4628.927, "player": 0.005, "url_check": 1163.908, "total": 9035.125}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/20398.html", "flag": "百度#至臻", "play_id": "https://pan.baidu.com/s/1KBoFekk6ROhuUssGJN2kpQ?pwd=rpgh"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1KBoFekk6ROhuUssGJN2kpQ?pwd=rpgh", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=KBoFekk6ROhuUssGJN2kpQ&pwd=rpgh", "reason": null}}, {"spider": "茶杯狐", "file": "茶杯狐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.161, "init": 0.001, "home": 3475.763, "category": 2161.89, "detail": 3214.895, "player": 17173.907, "url_check": 3408.378, "total": 56480.257}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "detail/video/120965", "flag": "自营b10", "play_id": "play/120965-1-1"}, "player": {"parse": 1, "url": "https://www.cupfox.ai/play/120965-1-1.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.cupfox.ai/play/120965-1-1.html", "reason": null}}, {"spider": "虎斑", "file": "虎斑.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.7, "init": 0.001, "home": 0.001, "category": 4862.127, "detail": 5165.149, "player": 0.007, "url_check": 1107.457, "total": 11141.915}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/460085.html", "flag": "百度#虎斑", "play_id": "https://pan.baidu.com/s/1HpTjsrIa5s9CfMdxy8PWkQ?pwd=5723"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1HpTjsrIa5s9CfMdxy8PWkQ?pwd=5723", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=HpTjsrIa5s9CfMdxy8PWkQ&pwd=5723", "reason": null}}, {"spider": "蜡笔", "file": "蜡笔.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.453, "init": 0.001, "home": 0.0, "category": 3364.519, "detail": 3962.179, "player": 0.003, "url_check": 1265.354, "total": 8596.98}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "29", "vod_id": "/index.php/vod/detail/id/9231.html", "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.807, "init": 0.001, "home": 0.001, "category": 2416.335, "detail": 1976.782, "player": 2957.659, "url_check": 2781.958, "total": 10138.211}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "movie/index414832", "flag": "蓝光专线4", "play_id": "play/414832-1-0"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260512/26665_01fedae7/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.phimgood.com/20260512/26665_01fedae7/index.m3u8", "reason": null}}, {"spider": "视界", "file": "视界.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.657, "init": 0.001, "home": 4789.448, "category": 3490.085, "detail": 5758.011, "player": 3263.446, "url_check": 2025.763, "total": 19335.98}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "20", "vod_id": "135025", "flag": "备用源(有广勿信)", "play_id": "https://svip.ffzyplay.com/?url=https://vip.ffzy-plays.com/20260513/53534_a2bf9404/index.m3u8|雨霖铃2026|1"}, "player": {"parse": 0, "url": "https://svip.ffzyplay.com/?url=https://vip.ffzy-plays.com/20260513/53534_a2bf9404/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://svip.ffzyplay.com/?url=https://vip.ffzy-plays.com/20260513/53534_a2bf9404/index.m3u8", "reason": null}}, {"spider": "路漫漫", "file": "路漫漫.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='yun.92cj.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 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 ~~~~~~~~~~~~~~~~~^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/http/client.py\", line 297, in _read_status\n line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\nTimeoutError: The read 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='yun.92cj.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 716, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 467, in _validate_from_tid\n player_result = _run_timed(result[\"timings_ms\"], \"player\", spider.playerContent, clock, play[\"flag\"], play[\"play_id\"], [])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 291, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/路漫漫.txt\", line 315, in playerContent\n File \"/home/harold/workspace/tvbox-resources/py/路漫漫.txt\", line 306, in _resolve_player_url\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='yun.92cj.com', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 4.278, "init": 0.001, "home": 0.0, "category": 3994.671, "detail": 2118.54, "player": 17843.758, "url_check": 0.0, "total": 23962.991}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "detail/7716.html", "flag": "播放节点列表X 聚合线路", "play_id": "play/7716_1_1.html"}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "酷我听书", "file": "酷我听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.603, "init": 0.001, "home": 416.769, "category": 104.215, "detail": 4159.224, "player": 142.569, "url_check": 82.013, "total": 4912.257}, "counts": {"classes": 4, "category_videos": 21, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "13492273", "flag": "酷我听书", "play_id": "free|94448942"}, "player": {"parse": 0, "url": "http://lv.sycdn.kuwo.cn/423d5f6fcc8f73421df898647f7b28d1/6a046045/resource/30106/trackmedia/long/M500002ZiI9a1sctnS.mp3?bitrate$128&format$mp3&source$kwplayerhd_ar_4.3.0.8_tianbao_T1A_qirui.apk&type$convert_url_with_sign&user$&loginUid$", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://lv.sycdn.kuwo.cn/423d5f6fcc8f73421df898647f7b28d1/6a046045/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": 8.417, "init": 10338.5, "home": 305.676, "category": 265.538, "detail": 329.681, "player": 378.309, "url_check": 78.795, "total": 11706.048}, "counts": {"classes": 12, "category_videos": 14, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "recommend", "vod_id": "722349049", "flag": "酷狗音乐", "play_id": "722349049"}, "player": {"parse": 0, "url": "http://fsdg360.tx.kugou.com/202605131928/0da50090ea799bff05559005a148e888/v3/9d65882660fbc83ae4c2f41c8a6115f3/yp/p_0_960563/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx722349049_qu128_s3254422415.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://fsdg360.tx.kugou.com/202605131928/0da50090ea799bff05559005a148e888/v3/9d65882660fbc83ae4c2f41c8a6115f3/yp/p_0_960563/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx722349049_qu128_s3254422415.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.978, "init": 0.0, "home": 2000.732, "category": 240.986, "detail": 220.189, "player": 247.834, "url_check": 543.098, "total": 3257.442}, "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://ppvod011.blbtgg.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?auth_key=1778671686-8225875a4cd74754b285b697b359c8ba-0-63c49aded01a958c2ef16f9ebd005718", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://ppvod011.blbtgg.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?auth_key=1778671686-8225875a4cd74754b285b697b359c8ba-0-63c49aded01a958c2ef16f9ebd005718", "reason": null}}, {"spider": "闪电", "file": "闪电.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.58, "init": 0.0, "home": 0.001, "category": 5985.269, "detail": 7083.812, "player": 0.008, "url_check": 4864.655, "total": 17937.904}, "counts": {"classes": 5, "category_videos": 72, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/185903.html", "flag": "百度#闪电", "play_id": "https://pan.baidu.com/s/1hxalL4JYwZ5Td9Hc-V4qpw?pwd=6688"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1hxalL4JYwZ5Td9Hc-V4qpw?pwd=6688", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=hxalL4JYwZ5Td9Hc-V4qpw&pwd=6688", "reason": null}}, {"spider": "飞快TV", "file": "飞快TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.557, "init": 0.001, "home": 0.0, "category": 6370.015, "detail": 7171.088, "player": 8348.476, "url_check": 2541.088, "total": 24435.624}, "counts": {"classes": 4, "category_videos": 40, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "1", "vod_id": "/voddetail/239127.html", "flag": "高清31", "play_id": "/vodplay/239127-2-1.html"}, "player": {"parse": 0, "url": "https://cdn.yzzy31-play.com/20260512/20713_a7dc8392/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzy31-play.com/20260512/20713_a7dc8392/index.m3u8", "reason": null}}, {"spider": "魔方APP", "file": "魔方APP.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 7.449, "init": 0.001, "home": 4241.748, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 4249.428}, "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": false, "failed_stage": "url_check", "error": "HTTP 404", "traceback": null, "timings_ms": {"module_load": 3.554, "init": 0.0, "home": 0.0, "category": 2070.012, "detail": 1738.272, "player": 0.011, "url_check": 2492.027, "total": 13331.468}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "155698", "flag": "LZ源", "play_id": "eyJ1cmwiOiJodHRwczovL3YubHpjZG4yOC5jb20vMjAyNTA5MjMvMjMyNl9hOWJmMjM0YS9pbmRleC5tM3U4IiwicGFyc2VfYXBpIjoiaHR0cHM6Ly9kZWwubXQzMjAuY29tL2x6ZmYucGhwP3VybD0iLCJoZWFkZXJzIjp7fSwidXNlcl9hZ2VudCI6IiJ9"}, "player": {"parse": 0, "url": "https://v.lzcdn28.com/20250923/2326_a9bf234a/index.m3u8", "valid": false, "reachable": false, "status_code": 404, "final_url": "https://v.lzcdn28.com/20250923/2326_a9bf234a/index.m3u8", "reason": "HTTP 404"}}, {"spider": "黑猫APP", "file": "黑猫APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.494, "init": 0.001, "home": 3257.782, "category": 2196.67, "detail": 3993.596, "player": 2398.102, "url_check": 248.549, "total": 26356.342}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 2}, "samples": {"tid": "2", "vod_id": "93238", "flag": "🐈⬛高清线路", "play_id": "高清线路1@@direct@@66ddeb0b0fe39924c19b86fc5dcce841,3b70475bed39417a705e38a74d6ede8c,token+,1,1"}, "player": {"parse": 0, "url": "https://v9-show.douyinvod.com/c43bdeaff92717231370f8acd316d061/6a04bf7e/video/tos/cn/tos-cn-v-5f73e7/o4oCFgLenmpTLBOeIbswrhIGAIf1EosXT15aIl/", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v9-show.douyinvod.com/c43bdeaff92717231370f8acd316d061/6a04bf7e/video/tos/cn/tos-cn-v-5f73e7/o4oCFgLenmpTLBOeIbswrhIGAIf1EosXT15aIl/", "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>
|