diff --git a/rumanhua1/rumanhua.js b/rumanhua1/rumanhua.js index 52f557c..6dd64fd 100644 --- a/rumanhua1/rumanhua.js +++ b/rumanhua1/rumanhua.js @@ -5,7 +5,11 @@ async function searchContent(keyword,page=0){ }; const postData = `k=${encodeURIComponent(keyword)}`; - const response = await fetch(`http://www.rumanhua1.com/s`, headers, "POST", postData ); + const response = await fetch(`http://www.rumanhua1.com/s`, { + method: "POST", + headers: headers, + body: postData + }); const html = await response.text(); const results = []; const regex = /