async function searchResults(keyword) { const results = []; const response = await fetchv2(`https://www.dora-video.cn/search/${keyword}/`); const html = await response.text(); const regex = /
(.*?)<\/p>.*?
(.*?)<\/p>/s; const match = regex.exec(html); let description = "N/A"; if (match) { description = match[3] .replace(/ /g, " ") .replace(/\s+/g, " ") .trim(); } results.push({ description: description, aliases: "N/A", airdate: "N/A" }); return JSON.stringify(results); } async function extractEpisodes(url) { const results = []; const response = await fetchv2(url); const html = await response.text(); console.error(html); const regex = /([^<]+)<\/a>/g; let match; let count = 1; while ((match = regex.exec(html)) !== null) { results.push({ href: match[1].trim(), number: count }); count++; } return JSON.stringify(results); } async function extractStreamUrl(url) { const response = await fetchv2(url); const html = await response.text(); const match = html.match(/