Update kimcartoon/kimcartoon.js

This commit is contained in:
aka paul 2025-12-27 15:33:51 +00:00
parent cfaf9a7bab
commit e22faebe94

View file

@ -2,7 +2,7 @@ async function searchResults(keyword) {
const searchUrl = `https://kimcartoon.com.co/?s=${encodeURIComponent(keyword)}`;
try {
const response = await fetchv2(searchUrl);
const html = await response;text();
const html = await response.text();
const results = [];
const articleRegex = /<article[^>]*class="bs styletwo"[\s\S]*?<\/article>/g;
const items = html.match(articleRegex) || [];