MemRelay-Operation: memory-save:iptv-fact-python-web-fixpath-20261113 MemRelay-Resource: eac56a84-c106-405d-a741-6508e52b74ed
1.2 KiB
1.2 KiB
title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | memory_type | project_id | usage_profile_id | status | revision | request_id | created_at | updated_at | tags | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IPTV Python Web 工具 | fact | main/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/iptv-python-web-工具 | eac56a84-c106-405d-a741-6508e52b74ed | project | fact | 6acaea0a-2a42-470a-9bc0-528c1ae658eb | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 3 | iptv-fact-python-web-fixpath-20261113 | 2026-11-13T14:13:51.725831+00:00 | 2026-11-13T15:00:39.745525+00:00 |
|
目录:E:\code\IPTV
现行实现是 Python 3.12 + FastAPI,不再使用 PowerShell 探测脚本。
- 启动:
启动Web界面.bat→ http://127.0.0.1:8787 - 程序:
app/;上游:sources/sources.json;原始列表:sources/raw/;SQLite:data/iptv.db - 网页勾选频道后生成
data/exports/已选.m3u并打开 PotPlayer Mini64 - 探测:aiohttp 并发 GET Range,默认并发 160、超时 5s;按频道名去重保留最佳 URL
- 网页「更新线路」只跑 recommend 源,会保留 probe_default=false 的大成人源行
- 成人全量采集:
python -m app --all-enabled --include-mega --kinds adult --concurrency 160 - 仓库尚未 git init,不要擅自 init