Skip to content

一分钟搭建影视站,支持Docker等部署方式

feat: add new video sources (天涯资源 and CK资源) to the API configuration and update the source selection in the UI

developer7da7bcb8881e
diff --git a/index.html b/index.html
index 059b77f..7a4d615 100644
--- a/index.html
+++ b/index.html
@@ -55,9 +55,11 @@
<select id="apiSource" class="w-full bg-[#222] border border-[#333] text-white px-3 py-2 rounded-lg focus:outline-none focus:border-white transition-colors">
<option value="heimuer">黑木耳影视 (heimuer)</option>
<option value="ffzy">非凡影视 (ffzy)</option>
+ <option value="tyyszy">天涯资源 (tyyszy)</option>
+ <option value="ckzy">CK资源 (ckzy)</option>
<option value="custom">自定义接口</option>
</select>
- <p class="text-xs text-gray-500 mt-1">目前有效源: 黑木耳、非凡</p>
+ <p class="text-xs text-gray-500 mt-1">目前有效源: 黑木耳、非凡、天涯、CK</p>
</div>
<!-- 添加自定义接口输入框 -->
diff --git a/js/config.js b/js/config.js
index b3b01ac..a88c108 100644
--- a/js/config.js
+++ b/js/config.js
@@ -25,6 +25,16 @@ const API_SITES = {
name: '非凡影视',
detail: 'http://ffzy5.tv',
},
+ tyyszy: {
+ api: 'https://tyyszy.com',
+ name: '天涯资源',
+ detail: 'https://tyyszy.com',
+ },
+ ckzy: {
+ api: 'https://www.ckzy1.com',
+ name: 'CK资源',
+ detail: 'https://www.ckzy1.com',
+ },
};