async function searchResults(keyword) { const regex = /\s*]*>\s*

([^<]+)<\/h3>/g; const results = []; try { const response = await fetchv2("https://animeyy.com/?act=ajax&code=search_manga&keyword=" + encodeURIComponent(keyword)); const html = await response.text(); let match; while ((match = regex.exec(html)) !== null) { let title = match[3].trim(); title = title.replace(/'/g, "'").replace(/"/g, '"').replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); const imageUrl = "https://animeyy.com/" + match[2].trim(); const passthroughImage = "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + encodeURIComponent(imageUrl) + "&referer=https://animeyy.com/"; results.push({ title: title, image: passthroughImage, href: "https://animeyy.com" + match[1].trim() }); } return JSON.stringify(results); } catch (err) { return JSON.stringify([{ title: "Error", image: "Error", href: "Error" }]); } } async function extractDetails(url) { try { const response = await fetchv2(url); const html = await response.text(); const aliasesMatch = html.match(/Alternative:<\/strong>\s*([^<]+)/); let aliases = aliasesMatch ? aliasesMatch[1].trim() : "N/A"; aliases = aliases.replace(/'/g, "'").replace(/"/g, '"').replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); const descMatch = html.match(/