Update senshi/senshi.js
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ async function searchResults(keyword) {
|
||||
const results = [];
|
||||
const postData = `{"searchTerm":"${keyword}","page":1,"limit":100}`;
|
||||
try {
|
||||
const response = await fetchv2("https://senshi.live/anime/filter", {}, "POST", postData);
|
||||
const response = await fetchv2("https://senshi.live/anime/filter", { "Content-Type": "application/json", "Referer": "https://senshi.live/" }, "POST", postData);
|
||||
const data = await response.json();
|
||||
|
||||
if (data.data && Array.isArray(data.data)) {
|
||||
|
||||
Reference in New Issue
Block a user