Update script.js
Browse files
script.js
CHANGED
|
@@ -119,7 +119,7 @@ async function updateBackgroundImage() {
|
|
| 119 |
} catch (error) {
|
| 120 |
console.error('获取背景图片失败:', error);
|
| 121 |
showDebugInfo('背景图片加载失败,将使用默认背景');
|
| 122 |
-
document.body.style.backgroundImage = `url('https://
|
| 123 |
}
|
| 124 |
}
|
| 125 |
|
|
@@ -240,7 +240,7 @@ async function parseContent(urlToParse) {
|
|
| 240 |
toggleLoading(true);
|
| 241 |
|
| 242 |
showDebugInfo(`正在解析中: ${url}`);
|
| 243 |
-
const apiUrl = `https://api.kxzjoker.cn/api/
|
| 244 |
const response = await fetch(apiUrl);
|
| 245 |
showDebugInfo(`收到响应状态: ${response.status}`);
|
| 246 |
|
|
|
|
| 119 |
} catch (error) {
|
| 120 |
console.error('获取背景图片失败:', error);
|
| 121 |
showDebugInfo('背景图片加载失败,将使用默认背景');
|
| 122 |
+
document.body.style.backgroundImage = `url('https://img.zlee.de/file/1747480653744_e852b46603ba8a533c63f5631308f760.jpg')`;
|
| 123 |
}
|
| 124 |
}
|
| 125 |
|
|
|
|
| 240 |
toggleLoading(true);
|
| 241 |
|
| 242 |
showDebugInfo(`正在解析中: ${url}`);
|
| 243 |
+
const apiUrl = `https://api.kxzjoker.cn/api/jiexi_video_2?url=${encodeURIComponent(url)}`;
|
| 244 |
const response = await fetch(apiUrl);
|
| 245 |
showDebugInfo(`收到响应状态: ${response.status}`);
|
| 246 |
|