https://hafrey1.github.io/LunaTV-config
免费注册 .qzz.io 和 .qd.je 域名,成功注册后多获得+1个免费域名额度
订阅使用:复制下面链接
👉 Base58编码订阅链接精简版🎬源链接 (推荐使用自己部署的代理)精简版禁18源
https://pz.v88.qzz.io?format=2&source=jin18
https://raw.githubusercontent.com/hafrey1/LunaTV-config/refs/heads/main/jin18.txt
👉 Base58编码订阅链接精简版🎬+🔞源链接 (推荐使用自己部署的代理)精简版剔除无搜索结果和污染搜索结果源
https://pz.v88.qzz.io?format=2&source=jingjian
https://raw.githubusercontent.com/hafrey1/LunaTV-config/refs/heads/main/jingjian.txt
👉 Base58编码订阅链接完整版🎬+🔞源链接 (推荐使用自己部署的代理)
https://pz.v88.qzz.io?format=2&source=full
https://raw.githubusercontent.com/hafrey1/LunaTV-config/refs/heads/main/LunaTV-config.txt
这是一个基于 Cloudflare Workers 的中转代理 + JSON 配置前缀替换工具。
支持将 API 请求通过 Worker 转发,并自动为 JSON 配置中的 api 字段添加/替换前缀。
同时支持生成 Base58 编码的订阅格式,并提供多种配置源选择,方便在外部应用中快速使用。
✨ 功能特性
使用 ?url= 参数转发任意 API 请求
示例:
https://<你的域名>/?url=https://ikunzyapi.com/api.php/provide/vod/
使用 ?source= 参数选择不同的资源配置:
source=jin18 - 精简版(31个资源,仅普通内容)source=jingjian - 精简+成人版(61个资源)source=full - 完整版(88个资源,默认)使用 ?format= 参数控制输出格式
format=0 或 format=raw - 原始 JSONformat=1 或 format=proxy - 添加代理前缀的 JSONformat=2 或 format=base58 - 原始 JSON 的 Base58 编码format=3 或 format=proxy-base58 - 代理前缀 JSON 的 Base58 编码🚀 部署方法
🌐 部署到 Cloudflare Workers
📦 部署到 Cloudflare Pages
点击 创建新部署(Create New Deployment),重新上传文件并点击 保存并部署 即可。
部署完成后,你就拥有了自己的 API 代理与订阅转换服务!
🔗 使用示例
假设你的 Worker 部署在:https://api.example.workers.dev
https://api.example.workers.dev/?url=https://ikunzyapi.com/api.php/provide/vod/
https://api.example.workers.dev/?format=0&source=jingjian
https://api.example.workers.dev/?format=1&source=jingjian
https://api.example.workers.dev/?format=2&source=jingjian
https://api.example.workers.dev/?format=3&source=jingjian
https://api.example.workers.dev/?format=1&source=full&prefix=https://my-proxy.com/?url=
🛠️ 参数说明
| 参数 | 说明 | 可选值 | 示例 |
|---|---|---|---|
url |
代理任意 API 请求 | 任意有效 URL | ?url=https://... |
format |
配置模式 | format=0 或 raw - 原始 JSON |
format=1 或 proxy - 添加代理前缀
format=2 或 base58 - 原始 Base58
format=3 或 proxy-base58 - 代理 Base58 | ?format=0 |
| source | 配置源选择 | source=jin18 - 精简版
source=jingjian - 精简+成人
source=full - 完整版) | ?source=jin18 |
| prefix | 自定义代理前缀 | 任意代理地址 | ?prefix=https://.../?url= |
| errors&limit=10 | 查看错误日志 | errors&limit=10 | https://<你的域名>?errors&limit=10 |
| 配置源 | 资源数量 | 包含成人内容 | 适用场景 |
|---|---|---|---|
| jin18 | 31个 | ❌ 否 | 家庭使用、轻量级应用 |
| jingjian | 61个 | ✅ 是 | 个人使用、中等需求 |
| full | 88个 | ✅ 是 | 完整功能、最大兼容性 |
🧩 前缀替换逻辑
- 若 JSON 中的 api 字段已包含旧前缀(?url=),系统会自动去除旧前缀并替换为新的代理前缀。
- 可自定义代理路径,方便接入私有 API 或多 Worker 配置。
📋 完整订阅链接模板
将 \<你的域名\> 替换为你的实际 Worker 地址:
# 原始 JSON
https://<你的域名>/?format=0&source=jin18
# 带代理前缀的 JSON
https://<你的域名>/?format=1&source=jin18
# 原始 Base58 编码
https://<你的域名>/?format=2&source=jin18
# 代理 Base58 编码(推荐用于订阅)
https://<你的域名>/?format=3&source=jin18
# 原始 JSON
https://<你的域名>/?format=0&source=jingjian
# 带代理前缀的 JSON
https://<你的域名>/?format=1&source=jingjian
# 原始 Base58 编码
https://<你的域名>/?format=2&source=jingjian
# 代理 Base58 编码(推荐用于订阅)
https://<你的域名>/?format=3&source=jingjian
# 原始 JSON
https://<你的域名>/?format=0&source=full
# 带代理前缀的 JSON
https://<你的域名>/?format=1&source=full
# 原始 Base58 编码
https://<你的域名>/?format=2&source=full
# 代理 Base58 编码(推荐用于订阅)
https://<你的域名>/?format=3&source=full
📌 注意事项
api 字段已包含 ?url= 前缀,会先去掉旧前缀,再加上新前缀。🔧 高级配置
在 worker.js 中找到 JSON_SOURCES 对象并修改:
const JSON_SOURCES = {
'jin18': 'https://raw.githubusercontent.com/your-repo/jin18.json',
'jingjian': 'https://raw.githubusercontent.com/your-repo/jingjian.json',
'full': 'https://raw.githubusercontent.com/your-repo/full.json'
}
找到以下代码并修改超时毫秒数:
const timeoutId = setTimeout(() => controller.abort(), 9000) // 改为其他值
可以在代码中添加日志记录:
console.log(`Request from: ${request.headers.get('cf-connecting-ip')}`)
示例
| 状态 | 资源名称 | 地址 | API | 搜索功能 | 成功次数 | 失败次数 | 成功率 | 最近7天趋势 |
|---|---|---|---|---|---|---|---|---|
| ✅ | 🎬-爱奇艺- | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬360 资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬优质资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬光速资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬最大点播 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬最大资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬卧龙资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬如意资源 | Link | Link | ✅ | 7 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬快车资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬新浪资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬无尽影视 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬无尽资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬旺旺短剧 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬旺旺资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬暴风资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬樱花资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬猫眼资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬电影天堂 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬百度云zy | Link | Link | ✅ | 29 | 0 | 100.0% | -✅✅✅✅✅✅ |
| ✅ | 🎬红牛资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬索尼资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬艾旦影视 | Link | Link | ✅ | 29 | 0 | 100.0% | -✅✅✅✅✅✅ |
| ✅ | 🎬虎牙资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬豪华资源 | Link | Link | ✅ | 8 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬量子影视 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬量子资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬金鹰点播 | Link | Link | ✅ | 10 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬闪电资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬非凡资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬飘零资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬魔都动漫 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬魔都资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🎬鸭鸭资源 | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞 CK-资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞--AIvin- | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞-大奶子- | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞-奥斯卡- | Link | Link | ❌ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞-美少女- | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞-老色逼- | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞-黄AVZY | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞155-资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞jkun资源 | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞souavZY | Link | Link | ✅ | 30 | 0 | 100.0% | ✅✅✅✅✅✅✅ |
| ✅ | 🔞丝袜资源 | Link |
$ claude mcp add LunaTV-config \
-- python -m otcore.mcp_server <graph>