From 007c21a192a64c91ea2dc0141b9d408cae5b555c Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Tue, 3 Mar 2026 18:20:41 +0000 Subject: [PATCH] Update comix/comix.js --- comix/comix.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/comix/comix.js b/comix/comix.js index 186cf74..ab9f02d 100644 --- a/comix/comix.js +++ b/comix/comix.js @@ -1,4 +1,4 @@ -async function searchContent(keyword, page = 0) { +async function searchResults(keyword, page = 0) { try { const response = await fetch("https://comix.to/api/v2/manga?order[relevance]=desc&keyword=" + encodeURIComponent(keyword) + "&limit=100"); const data = await response.json(); @@ -15,7 +15,7 @@ async function searchContent(keyword, page = 0) { } } -async function getContentData(slug) { +async function extractDetails(slug) { try { const response = await fetch("https://comix.to/title/" + slug); const html = await response.text(); @@ -54,7 +54,7 @@ async function getContentData(slug) { } } -async function getChapters(url) { +async function extractChapters(url) { const hash = url.split("-")[0] const results = []; try { @@ -97,7 +97,7 @@ async function getChapters(url) { } } -async function getChapterImages(url) { +async function extractImages(url) { const results = []; try { const response = await fetch("https://comix.to/title/" + url);