From d35d45b8a897a93cede8acbb2203aa5c7c52ab60 Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Sun, 26 Oct 2025 22:48:56 +0000 Subject: [PATCH] Update temp/temp.js --- temp/temp.js | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/temp/temp.js b/temp/temp.js index 7f4c710..9143c6d 100644 --- a/temp/temp.js +++ b/temp/temp.js @@ -115,7 +115,65 @@ async function extractText(url) { try { const response = await soraFetch(url); const htmlText = await response.text(); + + const regex = /'(https:\/\/[^']+\.jpg)'/g; + const matches = [...htmlText.matchAll(regex)]; + const imageUrls = matches.map(match => match[1]); + + const html = ` + +
+ + +