update mangas

This commit is contained in:
2026-01-14 00:07:39 +01:00
parent 6df3f100cc
commit 00b1292625
11 changed files with 44 additions and 44 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
async function searchContent(keyword,page=0){
async function searchResults(keyword,page=0){
const results = [];
try {
const headers = {
@@ -31,7 +31,7 @@ async function searchContent(keyword,page=0){
}
}
async function getContentData(ID) {
async function extractDetails(ID) {
try {
const response = await fetch(`https://api.mangacloud.org/comic/${ID}`);
const data = await response.json();
@@ -48,7 +48,7 @@ async function getContentData(ID) {
}
}
async function getChapters(ID) {
async function extractChapters(ID) {
const results = [];
try {
const response = await fetch(`https://api.mangacloud.org/comic/${ID}`);
@@ -73,7 +73,7 @@ async function getChapters(ID) {
}
}
async function getChapterImages(url) {
async function extractImages(url) {
const chapterID = url.split("/").pop();
const ID = url.split("/").slice(-2, -1)[0];
const results = [];