async function searchResults(keyword) { try { const encodedKeyword = encodeURIComponent(keyword); const url = `https://readnovelfull.com/novel-list/search?keyword=${encodedKeyword}`; const response = await soraFetch(url); const html = await response.text(); const results = []; const rowRegex = /
]*>/gi, '') .replace(/<\/p>/gi, '') .replace(/\s+/g, ' ') .trim() : "No description available"; const aliases = 'N/A'; const airdate = 'N/A'; const transformedResults = [{ description, aliases, airdate }]; console.log(JSON.stringify(transformedResults)); return JSON.stringify(transformedResults); } catch (error) { console.log('Details error:' + error); return JSON.stringify([{ description: 'Error loading description', aliases: 'N/A', airdate: 'N/A' }]); } } async function extractChapters(url) { try { const response = await soraFetch(url); const htmlText = await response.text(); const novelIdMatch = htmlText.match(/