Update senshi/senshi.js

This commit is contained in:
aka paul 2026-01-06 20:08:58 +00:00
parent 3d8d90c33e
commit 1569479457

View file

@ -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)) {