mirror of
https://git.luna-app.eu/50n50/sources
synced 2026-01-12 09:28:35 +01:00
Update senshi/senshi.js
This commit is contained in:
parent
3d8d90c33e
commit
1569479457
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue