mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-31 03:37:49 +01:00
Update kimcartoon/kimcartoon.js
This commit is contained in:
parent
cfaf9a7bab
commit
e22faebe94
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ async function searchResults(keyword) {
|
||||||
const searchUrl = `https://kimcartoon.com.co/?s=${encodeURIComponent(keyword)}`;
|
const searchUrl = `https://kimcartoon.com.co/?s=${encodeURIComponent(keyword)}`;
|
||||||
try {
|
try {
|
||||||
const response = await fetchv2(searchUrl);
|
const response = await fetchv2(searchUrl);
|
||||||
const html = await response;text();
|
const html = await response.text();
|
||||||
const results = [];
|
const results = [];
|
||||||
const articleRegex = /<article[^>]*class="bs styletwo"[\s\S]*?<\/article>/g;
|
const articleRegex = /<article[^>]*class="bs styletwo"[\s\S]*?<\/article>/g;
|
||||||
const items = html.match(articleRegex) || [];
|
const items = html.match(articleRegex) || [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue