Update index.js
Browse files
index.js
CHANGED
@@ -72,8 +72,8 @@ app.get('/*', async (req, res) => {
|
|
72 |
if (coreContent) {
|
73 |
// ε ι€ζδΈιθ¦ηι¨ε
|
74 |
let extractedString = coreContent[0];
|
75 |
-
extractedString = extractedString.replace('[CDATA[', '').replace('//]]', '');
|
76 |
-
extractedString = extractedString.replace(
|
77 |
res.set('Content-Type', 'text/plain');
|
78 |
res.send(extractedString); // ειζεεηε符串
|
79 |
} else {
|
|
|
72 |
if (coreContent) {
|
73 |
// ε ι€ζδΈιθ¦ηι¨ε
|
74 |
let extractedString = coreContent[0];
|
75 |
+
extractedString = extractedString.replace('[CDATA[', '').replace('//]]', '').replace('https:\\\/\\\/r\.bing\.com', '');
|
76 |
+
extractedString = extractedString.replace(/\\\/rp\\\//g, 'https://sokwith-proxybing.hf.space/rp/');
|
77 |
res.set('Content-Type', 'text/plain');
|
78 |
res.send(extractedString); // ειζεεηε符串
|
79 |
} else {
|