From bf095bc654dc6c9f9c7df806d757ceb6f65e961e Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Tue, 3 Mar 2026 18:28:42 +0000 Subject: [PATCH] Update comix/comix.js --- comix/comix.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comix/comix.js b/comix/comix.js index ab9f02d..414e000 100644 --- a/comix/comix.js +++ b/comix/comix.js @@ -102,12 +102,12 @@ async function extractImages(url) { try { const response = await fetch("https://comix.to/title/" + url); const html = await response.text(); - + const match = html.match(/\\"images\\":\[([^\]]+)\]/); if (match) { const imagesJson = '[' + match[1].replace(/\\"/g, '"') + ']'; const images = JSON.parse(imagesJson); - const imageUrls = images.map(img => img.url); + const imageUrls = images.map(img => `https://passthrough-worker.simplepostrequest.workers.dev/?simple=${encodeURIComponent(img.url)}&referer=comix.to`); results.push(...imageUrls); return results; } else {