diff --git a/temp/temp.js b/temp/temp.js index 3fff579..95e3eb1 100644 --- a/temp/temp.js +++ b/temp/temp.js @@ -116,12 +116,9 @@ async function extractText(url) { const response = await soraFetch(url); const htmlText = await response.text(); - // Extract image URLs using regex - const regex = /'(https:\/\/[^']+\.jpg)'/g; - const matches = [...htmlText.matchAll(regex)]; - const imageUrls = matches.map(match => match[1]); + const testUrl = 'https://static.wikia.nocookie.net/473b884a-a6d8-43ad-9c9c-fa6b676f8126'; + const imageUrls = Array(20).fill(testUrl); - // Generate HTML const html = `
@@ -162,7 +159,7 @@ async function extractText(url) { -${imageUrls.map(url => `