Update kimcartoon/kimcartoon.js
This commit is contained in:
@@ -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) || [];
|
||||||
|
|||||||
Reference in New Issue
Block a user