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 response = await fetch("https://mangapub.com/api/book/search?q=" + encodeURIComponent(keyword));
@@ -21,7 +21,7 @@ async function searchContent(keyword, page=0) {
}
}
async function getContentData(url) {
async function extractDetails(url) {
try {
const response = await fetch(url);
const html = await response.text();
@@ -41,7 +41,7 @@ async function getContentData(url) {
}
}
async function getChapters(url) {
async function extractChapters(url) {
const results = [];
try {
const response = await fetch(url);
@@ -80,7 +80,7 @@ async function getChapters(url) {
}
}
async function getChapterImages(url) {
async function extractImages(url) {
const results = [];
try {
const response = await fetch(url);