Update cfworker_proxy.js
This commit is contained in:
@@ -30,7 +30,7 @@ async function handleRequest(request) {
|
|||||||
const articleContent = await fetch(articleURL).then(r => r.text());
|
const articleContent = await fetch(articleURL).then(r => r.text());
|
||||||
|
|
||||||
let match = articleContent.match(
|
let match = articleContent.match(
|
||||||
/var nickname = "(?<author>[\S\s]*?)";[\S\s]*?var msg_title = \'(?<title>[\S\s]*?)\'.html\(false\);[\S\s]*?var msg_cdn_url = "(?<cover>[\S\s]*?)";/
|
/var nickname = htmlDecode\("(?<author>[\S\s]*?)"\);[\S\s]*?var msg_title = \'(?<title>[\S\s]*?)\'.html\(false\);[\S\s]*?var msg_cdn_url = "(?<cover>[\S\s]*?)";/
|
||||||
);
|
);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
// Test case:
|
// Test case:
|
||||||
|
|||||||
Reference in New Issue
Block a user