anyalerob commited on
Commit
de891cf
·
verified ·
1 Parent(s): e780bb9

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +2 -2
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://via.placeholder.com/1920x1080?text=Default+Background')`;
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/jiexi_video?url=${encodeURIComponent(url)}`;
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