diff --git a/mangabuddy/mangabuddy.js b/mangabuddy/mangabuddy.js index 8c7ad77..eb11df1 100644 --- a/mangabuddy/mangabuddy.js +++ b/mangabuddy/mangabuddy.js @@ -10,7 +10,7 @@ async function searchContent(keyword, page=0) { while ((match = regex.exec(html)) !== null) { results.push({ id: "https://mangabuddy.com" + match[1].trim(), - imageURL: "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + match[2].trim() + "?referrer=https://mangabuddy.com", + imageURL: "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + match[2].trim() + "?referer=https://mangabuddy.com", title: match[3].replace(/<[^>]+>/g, '').trim() }); } @@ -89,7 +89,7 @@ async function getChapterImages(url) { const match = regex.exec(html); if (match) { const images = match[1].split(','); - const processedImages = images.map(img => "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + img.trim() + "?referrer=https://mangabuddy.com"); + const processedImages = images.map(img => "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + img.trim() + "?referer=https://mangabuddy.com"); results.push(...processedImages); }