Update index.js
Browse files
index.js
CHANGED
@@ -81,6 +81,8 @@ app.get('/*', async (req, res) => {
|
|
81 |
extractedString = extractedString.replace(/https:\\\/\\\/r\.bing\.com/g, ''); // 删除 https:\/\/r.bing.com 字符串
|
82 |
extractedString = extractedString.replace(/\\\/rs\\\/6r\\\/x2\\\/nj\\\//g, `https://${rehost}/rp/rs/6r/x2/nj/`);
|
83 |
extractedString = extractedString.replace(/\\\/rs\\\/6r\\\/sQ\\\/jnc,nj\\\//g, `https://${rehost}/rp/rs/6r/sQ/jnc,nj/`);
|
|
|
|
|
84 |
res.set('Content-Type', 'text/plain');
|
85 |
res.send(extractedString); // 发送提取后的字符串
|
86 |
|
|
|
81 |
extractedString = extractedString.replace(/https:\\\/\\\/r\.bing\.com/g, ''); // 删除 https:\/\/r.bing.com 字符串
|
82 |
extractedString = extractedString.replace(/\\\/rs\\\/6r\\\/x2\\\/nj\\\//g, `https://${rehost}/rp/rs/6r/x2/nj/`);
|
83 |
extractedString = extractedString.replace(/\\\/rs\\\/6r\\\/sQ\\\/jnc,nj\\\//g, `https://${rehost}/rp/rs/6r/sQ/jnc,nj/`);
|
84 |
+
extractedString = extractedString.replace(/\\\/rs\\\/6r\\\/kQ\\\/jnc,nj\\\//g, `https://${rehost}/rp/rs/6r/kQ/jnc,nj/`);
|
85 |
+
|
86 |
res.set('Content-Type', 'text/plain');
|
87 |
res.send(extractedString); // 发送提取后的字符串
|
88 |
|