Files
tvboxzt/spider_validation.html
T
2026-05-13 11:25:45 +08:00

563 lines
98 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-13T11:24:55+08:00", "max_workers": 16, "total_duration_ms": 49365.611, "summary": {"total": 71, "success": 56, "failed": 15, "success_rate": 0.7887, "stage_failures": {"module_load": 0, "init": 0, "home": 1, "category": 1, "detail": 1, "player": 1, "url_check": 6, "unexpected": 5}}, "results": [{"spider": "4K指南", "file": "4K指南.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 216.487, "init": 0.001, "home": 0.001, "category": 2922.522, "detail": 2228.793, "player": 0.007, "url_check": 246.407, "total": 5614.949}, "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": 224.263, "init": 0.003, "home": 0.001, "category": 2423.598, "detail": 2202.343, "player": 0.003, "url_check": 0.019, "total": 4854.67}, "counts": {"classes": 12, "category_videos": 18, "detail_videos": 1, "episodes": 1}, "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": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 217.481, "init": 0.001, "home": 2774.661, "category": 2236.303, "detail": 2500.604, "player": 2216.387, "url_check": 461.183, "total": 17633.011}, "counts": {"classes": 6, "category_videos": 60, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "top", "vod_id": "song:f821b0a64d6f28f55e94ce7060e4e101", "flag": "AAZ音乐", "play_id": "song:f821b0a64d6f28f55e94ce7060e4e101"}, "player": {"parse": 0, "url": "https://s.5bb3.com/m4a/3d8d0808009dc4294b863d12237e103c.m4a", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://lv-sycdn.kuwo.cn/047bd0565015c9c20d3b6150f4493923/6a03ef19/resource/1307392909/trackmedia/C200003T85Hg2Ouv0r.m4a?from=vip", "reason": "HTTP 403"}}, {"spider": "PPnix", "file": "PPnix.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 259.839, "init": 0.0, "home": 0.001, "category": 2334.859, "detail": 2362.839, "player": 0.012, "url_check": 1695.302, "total": 6653.386}, "counts": {"classes": 2, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "movie/8144.html", "flag": "PPnix", "play_id": "8144|1080P"}, "player": {"parse": 0, "url": "https://www.ppnix.com/info/m3u8/8144/1080P.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.ppnix.com/info/m3u8/8144/1080P.m3u8", "reason": null}}, {"spider": "QQ音乐", "file": "QQ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 218.313, "init": 0.009, "home": 0.003, "category": 591.333, "detail": 537.597, "player": 375.286, "url_check": 102.075, "total": 1826.518}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "playlist", "vod_id": "playlist:7526065605", "flag": "QQ音乐", "play_id": "qqmusic:001hs89m3C5p3g:107762070|小半 - 陈粒"}, "player": {"parse": 0, "url": "https://isure.stream.qqmusic.qq.com/F000003Iu5fo0mXVj2.flac?guid=1c0296048ae63b145f7fe61fab90d497&vkey=21F653FE4C54C424D4A9EB9E09242A894B29B01DBBF23CBD6CC157C097959DF30DD06DB56AFD6087E44561F63358C5E13E2EDEF9594CC63E__v2b9abc6c&uin=1152921504846230218&fromtag=119114&redirect=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://isure.stream.qqmusic.qq.com/F000003Iu5fo0mXVj2.flac?guid=1c0296048ae63b145f7fe61fab90d497&vkey=21F653FE4C54C424D4A9EB9E09242A894B29B01DBBF23CBD6CC157C097959DF30DD06DB56AFD6087E44561F63358C5E13E2EDEF9594CC63E__v2b9abc6c&uin=1152921504846230218&fromtag=119114&redirect=1", "reason": null}}, {"spider": "libvio", "file": "libvio.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 215.858, "init": 0.0, "home": 0.001, "category": 1987.796, "detail": 1897.284, "player": 0.007, "url_check": 352.574, "total": 4454.508}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "714892944", "flag": "UC", "play_id": "https://drive.uc.cn/s/fd9594d2c6f34?public=1"}, "player": {"parse": 0, "url": "https://drive.uc.cn/s/fd9594d2c6f34?public=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://drive.uc.cn/s/fd9594d2c6f34?public=1", "reason": null}}, {"spider": "youknow", "file": "youknow.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 213.971, "init": 0.001, "home": 0.0, "category": 3803.063, "detail": 2159.502, "player": 2801.977, "url_check": 2061.358, "total": 11041.166}, "counts": {"classes": 7, "category_videos": 212, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "203869", "flag": "YouKnowTV", "play_id": "eyJ2b2RfaWQiOiIyMDM4NjkiLCJlcGlzb2RlX2luZGV4IjoxLCJ0aXRsZSI6IuesrDAx6ZuGIiwiY2FuZGlkYXRlcyI6W3sic291cmNlIjoi57q_6LevMSIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM4NjktMS0xLyJ9LHsic291cmNlIjoi57q_6LevMiIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM4NjktMS0xLyJ9LHsic291cmNlIjoi57q_6LevMTEiLCJzb3VyY2VfaWQiOiIyIiwiZXBpc29kZV91cmwiOiJodHRwczovL3d3dy55b3Vrbm93LnR2L3AvMjAzODY5LTItMS8ifSx7InNvdXJjZSI6Iue6v-i3rzEyIiwic291cmNlX2lkIjoiMiIsImVwaXNvZGVfdXJsIjoiaHR0cHM6Ly93d3cueW91a25vdy50di9wLzIwMzg2OS0yLTEvIn1dfQ"}, "player": {"parse": 0, "url": "https://vip.dytt-tvs.com/20260511/19653_79643b60/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cnvod.jimxtc.com/20260511/19653_79643b60/index.m3u8", "reason": null}}, {"spider": "七味", "file": "七味.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 217.312, "init": 0.006, "home": 0.002, "category": 2455.014, "detail": 2402.147, "player": 0.005, "url_check": 0.019, "total": 5076.516}, "counts": {"classes": 5, "category_videos": 42, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "497483", "flag": "磁力1", "play_id": "magnet:?xt=urn:btih:a62df5b0c7bd6de391c10ca4064ae8032ee82df4&dn=所爱之人.2026.HD1080P.AAC.H264.CHS.BTSJ6"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:a62df5b0c7bd6de391c10ca4064ae8032ee82df4&dn=所爱之人.2026.HD1080P.AAC.H264.CHS.BTSJ6", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:a62df5b0c7bd6de391c10ca4064ae8032ee82df4&dn=所爱之人.2026.HD1080P.AAC.H264.CHS.BTSJ6", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "不太灵", "file": "不太灵.txt", "success": false, "failed_stage": "player", "error": "playerContent 未返回播放地址", "traceback": null, "timings_ms": {"module_load": 215.022, "init": 0.001, "home": 2248.305, "category": 3053.353, "detail": 2521.927, "player": 0.005, "url_check": 0.0, "total": 12696.791}, "counts": {"classes": 5, "category_videos": 25, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "37032135", "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": 217.298, "init": 0.001, "home": 228.389, "category": 0.007, "detail": 144.114, "player": 0.0, "url_check": 0.0, "total": 759.755}, "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": 228.953, "init": 0.001, "home": 0.001, "category": 2242.381, "detail": 1982.345, "player": 3941.362, "url_check": 2523.523, "total": 10920.074}, "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/f641c7e5eab00b071b0a8a25ffcf2f53.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://zijieapi.douyinbyte.com/m3u8/f641c7e5eab00b071b0a8a25ffcf2f53.m3u8", "reason": null}}, {"spider": "乌云影视", "file": "乌云影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 213.837, "init": 0.001, "home": 2025.837, "category": 1920.62, "detail": 5666.165, "player": 0.018, "url_check": 3430.94, "total": 13259.744}, "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/5a75a536a7890e780402f0d219141cf1d885a9ef.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 644, 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 404, 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 290, 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": 210.362, "init": 0.001, "home": 0.001, "category": 10041.645, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10255.308}, "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": 211.643, "init": 0.001, "home": 0.001, "category": 3674.582, "detail": 1836.434, "player": 0.003, "url_check": 1257.431, "total": 6981.074}, "counts": {"classes": 4, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/12379.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": 210.985, "init": 0.001, "home": 0.001, "category": 3085.815, "detail": 2646.729, "player": 0.008, "url_check": 1136.055, "total": 7080.61}, "counts": {"classes": 4, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "movie/list_2", "vod_id": "/movie/2019/0129/2137.html", "flag": "baidu", "play_id": "https://pan.baidu.com/s/14rTP6__SGsNZ4lD8StkeAQ?pwd=ic37"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/14rTP6__SGsNZ4lD8StkeAQ?pwd=ic37", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=4rTP6__SGsNZ4lD8StkeAQ&pwd=ic37", "reason": null}}, {"spider": "人人视频", "file": "人人视频.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 210.194, "init": 0.0, "home": 314.68, "category": 280.46, "detail": 287.655, "player": 362.479, "url_check": 252.829, "total": 2825.93}, "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://tfvu0grhdgmt1gc41hcttghzdnp3u.ourdvsssvip.com:20443/ws-302.bwcgee.cn/d03d598a130371f188926733a68f0402/cc6df813bad94a13bce4851918016715-2498cc62f9f8dad4c656ed2c1c108944-ld.mp4?key=2f39d7465b849c7a5a383bc7200304d4&time=1778657098379&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=c1e24fc0dfc448f0bc8e8df402885533&hevc=false&seasonId=56609&wsiphost=ipdbme&wsrid_tag=6a03ef0a_PS-CTU-01y7n22_18467-2006-s1t1778642698466&x-mamba-business-label=13679&redirect_cnt=0&ip_type=0&wshc=C&requery=0", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://tfvu0grhdgmt1gc41hcttghzdnp3u.ourdvsssvip.com:20443/ws-302.bwcgee.cn/d03d598a130371f188926733a68f0402/cc6df813bad94a13bce4851918016715-2498cc62f9f8dad4c656ed2c1c108944-ld.mp4?key=2f39d7465b849c7a5a383bc7200304d4&time=1778657098379&clientType=web_pc&clientVersion=1.0.0&parseUsage=PLAY&uid=0&rk=c1e24fc0dfc448f0bc8e8df402885533&hevc=false&seasonId=56609&wsiphost=ipdbme&wsrid_tag=6a03ef0a_PS-CTU-01y7n22_18467-2006-s1t1778642698466&x-mamba-business-label=13679&redirect_cnt=0&ip_type=0&wshc=C&requery=0", "reason": "HTTP 403"}}, {"spider": "优酷", "file": "优酷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 10.021, "init": 0.001, "home": 0.001, "category": 315.598, "detail": 633.302, "player": 0.004, "url_check": 274.412, "total": 1234.142}, "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": 8.239, "init": 0.001, "home": 0.001, "category": 2378.47, "detail": 2795.741, "player": 0.008, "url_check": 163.855, "total": 5347.023}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "series", "vod_id": "movie/the-darkness", "flag": "播放源 1 (1080P)", "play_id": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8"}, "player": {"parse": 0, "url": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8", "reason": null}}, {"spider": "修罗", "file": "修罗.txt", "success": false, "failed_stage": "url_check", "error": "HTTPSConnectionPool(host='www.bde4.cc', port=443): Read timed out. (read timeout=5)", "traceback": null, "timings_ms": {"module_load": 6.47, "init": 0.001, "home": 0.001, "category": 2540.546, "detail": 849.152, "player": 4473.63, "url_check": 5011.184, "total": 28357.473}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "tv", "vod_id": "hanju/26880", "flag": "修罗直连", "play_id": "play/26880-0"}, "player": {"parse": 0, "url": "https://www.bde4.cc/510ED26DE4746A134A040FA9D3887C0C43FE6008AE1653283692892AB53C46E1FB4F9324C5397440F318FB7B0CEC8C5BFA89FD391A0645F0285AB8B70B632A6D.m3u8#maliva", "valid": false, "reachable": false, "status_code": null, "final_url": "https://www.bde4.cc/510ED26DE4746A134A040FA9D3887C0C43FE6008AE1653283692892AB53C46E1FB4F9324C5397440F318FB7B0CEC8C5BFA89FD391A0645F0285AB8B70B632A6D.m3u8#maliva", "reason": "HTTPSConnectionPool(host='www.bde4.cc', port=443): Read timed out. (read timeout=5)"}}, {"spider": "凡客TV", "file": "凡客TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.387, "init": 0.0, "home": 0.0, "category": 2352.252, "detail": 3059.814, "player": 4798.223, "url_check": 4169.646, "total": 14385.767}, "counts": {"classes": 8, "category_videos": 32, "detail_videos": 1, "episodes": 1}, "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/d4d1de2e90761330a58ac905ec4bee14.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fktv.me/ysapi/m3u8/p/d4d1de2e90761330a58ac905ec4bee14.m3u8", "reason": null}}, {"spider": "剧圈圈", "file": "剧圈圈.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.jqqzx.cc', port=443): Max retries exceeded with url: /type/dianying/page/1.html (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_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.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_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: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_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='www.jqqzx.cc', port=443): Max retries exceeded with url: /type/dianying/page/1.html (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_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 644, 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 404, 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 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 151, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/剧圈圈.txt\", line 93, in _request_html\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='www.jqqzx.cc', port=443): Max retries exceeded with url: /type/dianying/page/1.html (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1081)')))\n", "timings_ms": {"module_load": 7.428, "init": 0.001, "home": 0.0, "category": 4871.073, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 4880.096}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "dianying", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "剧迷", "file": "剧迷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.92, "init": 0.001, "home": 0.001, "category": 2147.56, "detail": 2504.03, "player": 4385.55, "url_check": 2021.775, "total": 20924.346}, "counts": {"classes": 6, "category_videos": 218, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "442645", "flag": "騰訊线路 ᴴᴰ", "play_id": "442645-6-1"}, "player": {"parse": 0, "url": "https://img.ruyijx.com/m3u8/qayxG0Wz25FX95.m3u8?cqjSNwxfWtzjgHP2Ux", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://img.ruyijx.com/m3u8/qayxG0Wz25FX95.m3u8?cqjSNwxfWtzjgHP2Ux", "reason": null}}, {"spider": "博看听书", "file": "博看听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.034, "init": 0.0, "home": 3180.458, "category": 279.447, "detail": 799.711, "player": 0.002, "url_check": 119.356, "total": 4384.395}, "counts": {"classes": 11, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1319", "vod_id": "902849", "flag": "博看听书", "play_id": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a"}, "player": {"parse": 0, "url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "reason": null}}, {"spider": "双星", "file": "双星.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.452, "init": 420.343, "home": 0.006, "category": 191.603, "detail": 189.186, "player": 0.002, "url_check": 237.175, "total": 1044.653}, "counts": {"classes": 7, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "ju", "vod_id": "/ju/10438.html", "flag": "夸克", "play_id": "https://pan.quark.cn/s/0955c2284f45"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/0955c2284f45", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/0955c2284f45", "reason": null}}, {"spider": "听书", "file": "听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.989, "init": 79.13, "home": 0.002, "category": 191.616, "detail": 2598.21, "player": 302.334, "url_check": 153.46, "total": 3329.902}, "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=ecbee2ac4533635ecacffbf1551008f3&buy_key=FM&token=6296&timestamp=1778642705&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=ecbee2ac4533635ecacffbf1551008f3&buy_key=FM&token=6296&timestamp=1778642705&duration=453", "reason": null}}, {"spider": "听友FM", "file": "听友FM.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.056, "init": 0.001, "home": 2365.144, "category": 7138.253, "detail": 3735.893, "player": 3397.896, "url_check": 173.114, "total": 16818.948}, "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=1778640176&sign=ba8a7a91fa8df111e644c8a8b0f942e7", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778640176&sign=ba8a7a91fa8df111e644c8a8b0f942e7", "reason": null}}, {"spider": "咕咕动漫", "file": "咕咕动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.928, "init": 0.004, "home": 2199.702, "category": 2467.051, "detail": 1954.704, "player": 3042.885, "url_check": 78.794, "total": 9750.489}, "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=1809746712&x-signature=CeRyZ2B2BiQUGcplnHfKJVNEKYg%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=1809746712&x-signature=CeRyZ2B2BiQUGcplnHfKJVNEKYg%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 644, 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 404, 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 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 238, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 212, in _api_get\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n", "timings_ms": {"module_load": 4.019, "init": 0.0, "home": 0.0, "category": 1862.951, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 1870.907}, "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.473, "init": 0.001, "home": 0.001, "category": 1888.197, "detail": 3878.35, "player": 2293.862, "url_check": 271.713, "total": 8338.494}, "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=W%2BQjef9knFW5Kf6lruqJrclLqtc%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778652227&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=W%2BQjef9knFW5Kf6lruqJrclLqtc%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778652227&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": 8.598, "init": 0.001, "home": 0.001, "category": 525.299, "detail": 1560.592, "player": 0.003, "url_check": 976.395, "total": 3071.568}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "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": false, "failed_stage": "url_check", "error": "HTTP 418", "traceback": null, "timings_ms": {"module_load": 5.809, "init": 0.001, "home": 0.001, "category": 2038.33, "detail": 2326.912, "player": 0.002, "url_check": 246.848, "total": 9247.41}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "dsj", "vod_id": "/resources/legacy-post-29587/", "flag": "奕搜", "play_id": "push://https://movie.douban.com/subject/35758798/"}, "player": {"parse": 0, "url": "https://movie.douban.com/subject/35758798/", "valid": false, "reachable": false, "status_code": 418, "final_url": "https://movie.douban.com/subject/35758798/", "reason": "HTTP 418"}}, {"spider": "如意资源", "file": "如意资源.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.874, "init": 0.001, "home": 0.012, "category": 4730.259, "detail": 2006.824, "player": 0.004, "url_check": 2499.197, "total": 9243.065}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "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": 6.416, "init": 0.0, "home": 0.001, "category": 2332.988, "detail": 2100.895, "player": 1643.049, "url_check": 355.056, "total": 6439.043}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "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=20260513T032511Z&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=11936ca021e1ad36f8d97b56f0883234536e2c797eb074773d5c57c19cbaf52a", "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=20260513T032511Z&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=11936ca021e1ad36f8d97b56f0883234536e2c797eb074773d5c57c19cbaf52a", "reason": null}}, {"spider": "微观短剧", "file": "微观短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.93, "init": 0.029, "home": 215.9, "category": 312.014, "detail": 372.418, "player": 0.002, "url_check": 249.007, "total": 1154.204}, "counts": {"classes": 30, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "都市", "vod_id": "110000044555935694", "flag": "1080P", "play_id": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778642706&sign=e981d08d3c9c85008978f461cfb736b6"}, "player": {"parse": 0, "url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778642706&sign=e981d08d3c9c85008978f461cfb736b6", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778642706&sign=e981d08d3c9c85008978f461cfb736b6", "reason": null}}, {"spider": "新韩剧网", "file": "新韩剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.322, "init": 0.001, "home": 0.0, "category": 1944.202, "detail": 1769.282, "player": 1701.559, "url_check": 2546.078, "total": 7966.223}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "3613", "flag": "在线云播", "play_id": "3613_1_1"}, "player": {"parse": 0, "url": "https://player.yzzyvip-35.com/20260331/3348_333cb763/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://player.yzzyvip-35.com/20260331/3348_333cb763/index.m3u8", "reason": null}}, {"spider": "星星短剧", "file": "星星短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.851, "init": 0.001, "home": 0.001, "category": 510.719, "detail": 464.521, "player": 0.005, "url_check": 191.639, "total": 1173.453}, "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.316, "init": 0.001, "home": 0.0, "category": 2357.148, "detail": 1946.499, "player": 0.016, "url_check": 244.428, "total": 4552.982}, "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": 6.025, "init": 0.001, "home": 0.001, "category": 5095.121, "detail": 5397.061, "player": 6104.3, "url_check": 2291.042, "total": 33642.475}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "riman", "vod_id": "/detail/18824/", "flag": "高清", "play_id": "/play/18824-1-1/"}, "player": {"parse": 0, "url": "https://cdn.vvvip-plays33.cc/20260408/11535_86d5cf1c/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.vvvip-plays33.cc/20260408/11535_86d5cf1c/index.m3u8", "reason": null}}, {"spider": "橘子TV", "file": "橘子TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.512, "init": 4918.37, "home": 2770.729, "category": 2812.185, "detail": 1262.427, "player": 9914.282, "url_check": 2408.067, "total": 24096.387}, "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=0c662f6d57717b689331418093e4c6bf&t=1778642727", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://usaydd.0rvgx279.com/m3u87/share/6937197/7133173/20260414/171420/1080/index.m3u8?sign=0c662f6d57717b689331418093e4c6bf&t=1778642727", "reason": null}}, {"spider": "欧歌", "file": "欧歌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.945, "init": 0.001, "home": 0.0, "category": 2026.959, "detail": 1713.957, "player": 0.006, "url_check": 1107.906, "total": 4853.454}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/29938.html", "flag": "百度", "play_id": "https://pan.baidu.com/s/1vcYSB0ydxgAzc-1Tvg63oA?pwd=8888"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1vcYSB0ydxgAzc-1Tvg63oA?pwd=8888", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=vcYSB0ydxgAzc-1Tvg63oA&pwd=8888", "reason": null}}, {"spider": "河马短剧", "file": "河马短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.289, "init": 0.001, "home": 366.762, "category": 642.64, "detail": 1472.382, "player": 0.036, "url_check": 124.427, "total": 2612.734}, "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/5ad2db567e3c14a5c66f07ef5cb9d369/6a053ab0/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4"}, "player": {"parse": 0, "url": "https://dzzt-video.cbread.cn/5ad2db567e3c14a5c66f07ef5cb9d369/6a053ab0/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/5ad2db567e3c14a5c66f07ef5cb9d369/6a053ab0/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": 6.137, "init": 0.0, "home": 0.001, "category": 2718.777, "detail": 2213.345, "player": 0.009, "url_check": 960.446, "total": 5899.389}, "counts": {"classes": 5, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "detail/3033", "flag": "百度", "play_id": "https://pan.baidu.com/s/1D_ftrHBRkMlxRs_aLWExxQ?pwd=p4uw"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1D_ftrHBRkMlxRs_aLWExxQ?pwd=p4uw", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=D_ftrHBRkMlxRs_aLWExxQ&pwd=p4uw", "reason": null}}, {"spider": "潮流APP", "file": "潮流APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.37, "init": 0.003, "home": 144.652, "category": 121.058, "detail": 191.122, "player": 315.771, "url_check": 74.645, "total": 854.248}, "counts": {"classes": 10, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "10", "vod_id": "75722", "flag": "线路二 (点击换线)", "play_id": "75722@@0@@0"}, "player": {"parse": 0, "url": "http://210.16.164.82:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1778642734862&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://210.16.164.82:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1778642734862&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "reason": null}}, {"spider": "爱奇艺", "file": "爱奇艺.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 12.096, "init": 0.022, "home": 3987.625, "category": 818.478, "detail": 241.491, "player": 0.002, "url_check": 181.367, "total": 5242.031}, "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.238, "init": 0.001, "home": 0.001, "category": 2015.852, "detail": 972.233, "player": 1904.054, "url_check": 783.8, "total": 5680.878}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "143559", "flag": "独播库", "play_id": "143559-1-1"}, "player": {"parse": 0, "url": "https://vid.dbokutv.com/20260421/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHbTcyo5xOy6ejP6DoBJ0nBJ0oCJT1D491HIvjS34/chunklist.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vid.dbokutv.com/20260421/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHbTcyo5xOy6ejP6DoBJ0nBJ0oCJT1D491HIvjS34/chunklist.m3u8", "reason": null}}, {"spider": "玩偶哥哥", "file": "玩偶哥哥.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.062, "init": 0.001, "home": 0.001, "category": 1888.527, "detail": 1722.901, "player": 0.003, "url_check": 1208.357, "total": 4825.119}, "counts": {"classes": 8, "category_videos": 70, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/voddetail/124587.html", "flag": "百度#玩偶哥哥", "play_id": "https://pan.baidu.com/s/1Nkhrp7zi-uQnuYFbpFpEew?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1Nkhrp7zi-uQnuYFbpFpEew?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=Nkhrp7zi-uQnuYFbpFpEew&pwd=wogg", "reason": null}}, {"spider": "玩偶聚合", "file": "玩偶聚合.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.506, "init": 0.001, "home": 0.078, "category": 1895.873, "detail": 1914.384, "player": 0.002, "url_check": 1098.654, "total": 4916.137}, "counts": {"classes": 10, "category_videos": 70, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "site_wanou", "vod_id": "site:wanou:/voddetail/123913.html", "flag": "百度#玩偶", "play_id": "https://pan.baidu.com/s/12EOQsYLsEThIusO7a2QCWw?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/12EOQsYLsEThIusO7a2QCWw?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=2EOQsYLsEThIusO7a2QCWw&pwd=wogg", "reason": null}}, {"spider": "瓜子", "file": "瓜子.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.937, "init": 0.001, "home": 0.017, "category": 1984.096, "detail": 3168.485, "player": 838.767, "url_check": 199.384, "total": 6200.036}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "128782", "flag": "1080", "play_id": "vod_d_id=128782&vurl_id=3323715&domain_type=8&resolution=1080&type=play"}, "player": {"parse": 0, "url": "https://vd.hxcztech.com/c7a007e72c6b0fb92d29aa195bc15bda/20260513112518/decry/vd/20260311/MjYwZjE1YTRkO/172631/1998_1080/aac/h264/hls/decrypt/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://app.xn--55qx2ai23bz99b.cn/index.m3u8", "reason": null}}, {"spider": "百度短剧", "file": "百度短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.362, "init": 0.001, "home": 466.209, "category": 224.103, "detail": 594.715, "player": 233.564, "url_check": 65.254, "total": 1591.822}, "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-hna", "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-hna", "reason": null}}, {"spider": "盘Ta", "file": "盘Ta.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.509, "init": 0.001, "home": 4524.975, "category": 256.886, "detail": 4569.501, "player": 0.047, "url_check": 171.522, "total": 9531.641}, "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": 9.826, "init": 0.002, "home": 0.002, "category": 1755.548, "detail": 1819.483, "player": 718.397, "url_check": 1100.467, "total": 5404.38}, "counts": {"classes": 4, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "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": 20.527, "init": 705.822, "home": 0.089, "category": 425.081, "detail": 326.605, "player": 0.002, "url_check": 71.995, "total": 1550.998}, "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.827, "init": 0.001, "home": 0.0, "category": 2306.716, "detail": 912.582, "player": 0.004, "url_check": 238.105, "total": 3461.715}, "counts": {"classes": 2, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "https://sm3.cc/?id=50208", "flag": "夸克", "play_id": "https://pan.quark.cn/s/5e191dea6068"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/5e191dea6068", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/5e191dea6068", "reason": null}}, {"spider": "糯米", "file": "糯米.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.187, "init": 0.001, "home": 503.425, "category": 747.159, "detail": 170.283, "player": 373.633, "url_check": 314.467, "total": 2118.787}, "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 644, 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 445, 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 290, 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": 7.896, "init": 0.001, "home": 402.491, "category": 387.868, "detail": 0.015, "player": 221.402, "url_check": 0.0, "total": 1021.893}, "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": 5.963, "init": 0.0, "home": 0.001, "category": 5955.801, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 7902.75}, "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.733, "init": 0.001, "home": 294.709, "category": 279.644, "detail": 750.631, "player": 0.004, "url_check": 278.007, "total": 1611.521}, "counts": {"classes": 7, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "choice", "vod_id": "choice$mzc002009g0nh88", "flag": "腾讯视频", "play_id": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html"}, "player": {"parse": 1, "url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "reason": null}}, {"spider": "至臻", "file": "至臻.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.902, "init": 0.001, "home": 0.001, "category": 1082.993, "detail": 786.34, "player": 0.01, "url_check": 1083.948, "total": 2957.771}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/20396.html", "flag": "百度#至臻", "play_id": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=689HdL9zr7VcSmUwONIWCQ&pwd=d48g", "reason": null}}, {"spider": "茶杯狐", "file": "茶杯狐.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 404", "traceback": null, "timings_ms": {"module_load": 5.256, "init": 0.001, "home": 1438.75, "category": 2314.405, "detail": 2050.113, "player": 4238.814, "url_check": 2489.182, "total": 24564.678}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "detail/video/120875", "flag": "BF有广8", "play_id": "play/120875-1-1"}, "player": {"parse": 0, "url": "https://v10.baofeng10.com/video/zuilangmandeshi/746f6bfbdaa9/index.m3u8", "valid": false, "reachable": false, "status_code": 404, "final_url": "https://v10.baofeng10.com/video/zuilangmandeshi/746f6bfbdaa9/index.m3u8", "reason": "HTTP 404"}}, {"spider": "虎斑", "file": "虎斑.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 32.444, "init": 0.001, "home": 0.001, "category": 2361.14, "detail": 7706.465, "player": 0.01, "url_check": 1228.76, "total": 11329.409}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/462811.html", "flag": "百度#虎斑", "play_id": "https://pan.baidu.com/s/1VxF6SWn9sm5pRQzobL6Gpg?pwd=5260"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1VxF6SWn9sm5pRQzobL6Gpg?pwd=5260", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=VxF6SWn9sm5pRQzobL6Gpg&pwd=5260", "reason": null}}, {"spider": "蜡笔", "file": "蜡笔.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.951, "init": 0.001, "home": 0.0, "category": 1076.043, "detail": 762.303, "player": 0.003, "url_check": 1111.432, "total": 2954.106}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "29", "vod_id": "/index.php/vod/detail/id/11277.html", "flag": "百度#蜡笔", "play_id": "https://pan.baidu.com/s/1NiPgbk9_FIhSYfmGm-Cqxg?pwd=q5m6"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1NiPgbk9_FIhSYfmGm-Cqxg?pwd=q5m6", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=NiPgbk9_FIhSYfmGm-Cqxg&pwd=q5m6", "reason": null}}, {"spider": "袋鼠影视", "file": "袋鼠影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.237, "init": 0.001, "home": 0.001, "category": 3241.034, "detail": 2119.558, "player": 2799.072, "url_check": 3538.504, "total": 20187.556}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "movie/index414763", "flag": "蓝光专线4", "play_id": "play/414763-1-0"}, "player": {"parse": 0, "url": "https://vip.dytt-tvs.com/20260504/18880_5f41caa0/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cnvod.jimxtc.com/20260504/18880_5f41caa0/index.m3u8", "reason": null}}, {"spider": "路漫漫", "file": "路漫漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.476, "init": 0.001, "home": 0.001, "category": 1777.986, "detail": 3145.521, "player": 5473.132, "url_check": 217.437, "total": 10624.43}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "detail/8037.html", "flag": "播放节点列表X dev云播 聚合线路", "play_id": "play/8037_1_1.html"}, "player": {"parse": 0, "url": "https://groupvideo.photo.qq.com/1071_0bc3bec5uaaftyanzdwp35usucie3ieqlwsa.f0.mp4?dis_k=29009a24220a127c68927c12fea7a105&dis_t=1778642270", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://groupvideo.photo.qq.com/1071_0bc3bec5uaaftyanzdwp35usucie3ieqlwsa.f0.mp4?dis_k=29009a24220a127c68927c12fea7a105&dis_t=1778642270", "reason": null}}, {"spider": "酷我听书", "file": "酷我听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.043, "init": 0.001, "home": 365.7, "category": 92.657, "detail": 218.836, "player": 145.082, "url_check": 60.208, "total": 4497.87}, "counts": {"classes": 4, "category_videos": 21, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "37", "vod_id": "27097583", "flag": "酷我听书", "play_id": "free|213913912"}, "player": {"parse": 0, "url": "http://cz.sycdn.kuwo.cn/b34ae2e5e0ff18c61a8ecba65d506415/6a03ef23/resource/m1/34/31/3390639861.wma?bitrate$128&format$wma&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://cz.sycdn.kuwo.cn/b34ae2e5e0ff18c61a8ecba65d506415/6a03ef23/resource/m1/34/31/3390639861.wma?bitrate$128&format$wma&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": 19.021, "init": 492.496, "home": 316.954, "category": 298.258, "detail": 321.175, "player": 363.305, "url_check": 87.982, "total": 1901.525}, "counts": {"classes": 12, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "recommend", "vod_id": "500396833", "flag": "酷狗音乐", "play_id": "500396833"}, "player": {"parse": 0, "url": "http://fsdg360.tx.kugou.com/202605131125/0a6992e3edd9f518d4b1afcdd9882742/v3/f542545e62750a9effdd77ad767c0238/yp/p_0_960123/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx500396833_qu128_s2823985963.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://fsdg360.tx.kugou.com/202605131125/0a6992e3edd9f518d4b1afcdd9882742/v3/f542545e62750a9effdd77ad767c0238/yp/p_0_960123/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx500396833_qu128_s2823985963.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "reason": null}}, {"spider": "金牌", "file": "金牌.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='m.jiabaide.cn', port=443): Max retries exceeded with url: /api/mw-movie/anonymous/video/list?pageNum=1&pageSize=30&sort=1&sortBy=1&type1=1 (Caused by ConnectTimeoutError(<HTTPSConnection(host='m.jiabaide.cn', port=443) at 0x73627fbf5950>, 'Connection to m.jiabaide.cn 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='m.jiabaide.cn', port=443) at 0x73627fbf5950>, 'Connection to m.jiabaide.cn 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='m.jiabaide.cn', port=443): Max retries exceeded with url: /api/mw-movie/anonymous/video/list?pageNum=1&pageSize=30&sort=1&sortBy=1&type1=1 (Caused by ConnectTimeoutError(<HTTPSConnection(host='m.jiabaide.cn', port=443) at 0x73627fbf5950>, 'Connection to m.jiabaide.cn 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 644, 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 404, 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 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/金牌.txt\", line 165, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/金牌.txt\", line 79, in _fetch_json\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='m.jiabaide.cn', port=443): Max retries exceeded with url: /api/mw-movie/anonymous/video/list?pageNum=1&pageSize=30&sort=1&sortBy=1&type1=1 (Caused by ConnectTimeoutError(<HTTPSConnection(host='m.jiabaide.cn', port=443) at 0x73627fbf5950>, 'Connection to m.jiabaide.cn timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 3.752, "init": 0.001, "home": 700.019, "category": 10012.821, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10720.487}, "counts": {"classes": 4, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "闪电", "file": "闪电.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.533, "init": 0.001, "home": 0.001, "category": 5879.124, "detail": 5941.644, "player": 0.003, "url_check": 1040.067, "total": 12868.987}, "counts": {"classes": 5, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "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.468, "init": 0.0, "home": 0.001, "category": 7376.826, "detail": 5140.621, "player": 4972.022, "url_check": 2243.839, "total": 19738.451}, "counts": {"classes": 4, "category_videos": 40, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/voddetail/239380.html", "flag": "魔都资源4", "play_id": "/vodplay/239380-1-1.html"}, "player": {"parse": 0, "url": "https://play.modujx11.com/20260421/1CNBOSBB/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://play.modujx11.com/20260421/1CNBOSBB/index.m3u8", "reason": null}}, {"spider": "魔方APP", "file": "魔方APP.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 5.517, "init": 0.001, "home": 2167.076, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 2174.786}, "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": "不支持的地址协议: empty", "traceback": null, "timings_ms": {"module_load": 3.664, "init": 0.001, "home": 0.001, "category": 1898.97, "detail": 3994.407, "player": 0.044, "url_check": 0.018, "total": 12658.866}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "155698", "flag": "NB源", "play_id": "eyJ1cmwiOiJOQlktWE1ZQUVTNzg3ZTYyNWU2YWVhZjE5NWJlNTkwZDI3NDFlMjFjYzdmOTAxNjA4N2M3YjgwYjFhMTU1NjcxMmUzZDdlYmExMWMxN2I1ODYwYjJlYThhYTAwYjNjYjc3YzA3Y2QwZmFlfGUwM2Q1N2MxMzUzNDM1MDcxYTU3ZDI2MDI2NDM5YmVmIiwicGFyc2VfYXBpIjoiaHR0cHM6Ly9hcGkubmJ5anNvbi50b3A6Nzc4OC9hcGkvP2tleT13czlMejFFdHFmVTA5QXpaS2wmdXJsPSIsImhlYWRlcnMiOnt9LCJ1c2VyX2FnZW50IjoiIn0="}, "player": {"parse": 0, "url": "NBY-XMYAES787e625e6aeaf195be590d2741e21cc7f9016087c7b80b1a1556712e3d7eba11c17b5860b2ea8aa00b3cb77c07cd0fae|e03d57c1353435071a57d26026439bef", "valid": false, "reachable": false, "status_code": null, "final_url": "NBY-XMYAES787e625e6aeaf195be590d2741e21cc7f9016087c7b80b1a1556712e3d7eba11c17b5860b2ea8aa00b3cb77c07cd0fae|e03d57c1353435071a57d26026439bef", "reason": "不支持的地址协议: empty"}}, {"spider": "黑猫APP", "file": "黑猫APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.673, "init": 0.001, "home": 4241.937, "category": 2014.312, "detail": 2272.973, "player": 3922.596, "url_check": 534.058, "total": 23582.504}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "93212", "flag": "🐈‍⬛高清线路", "play_id": "高清线路1@@direct@@66ddeb0b0fe39924c19b86fc5dcce841,8c66a6b48eee66fe407d3e188eb3fb30,token+,1,1"}, "player": {"parse": 0, "url": "https://v6-show.douyinvod.com/11c43bc51830ca48d2ee78f81bea6430/6a044917/video/tos/cn/tos-cn-v-5f73e7/oMIrIETOn4HfIFczGBIc85LP6e0CKAesIO1CtQ/", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v6-show.douyinvod.com/11c43bc51830ca48d2ee78f81bea6430/6a044917/video/tos/cn/tos-cn-v-5f73e7/oMIrIETOn4HfIFczGBIc85LP6e0CKAesIO1CtQ/", "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, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;");
}
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>