update mangas
This commit is contained in:
@@ -13,7 +13,7 @@ function decodeHtmlEntities(text) {
|
||||
return text.replace(/&#?\w+;/g, (entity) => map[entity] || entity);
|
||||
}
|
||||
|
||||
async function searchContent(keyword) {
|
||||
async function searchResults(keyword) {
|
||||
const results = [];
|
||||
|
||||
const pages = [0, 2, 3, 4, 5];
|
||||
@@ -53,7 +53,7 @@ async function searchContent(keyword) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getContentData(url) {
|
||||
async function extractDetails(url) {
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
const html = await response.text();
|
||||
@@ -82,7 +82,7 @@ async function getContentData(url) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapters(url) {
|
||||
async function extractChapters(url) {
|
||||
const results = [];
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
@@ -129,7 +129,7 @@ async function getChapters(url) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapterImages(url) {
|
||||
async function extractImages(url) {
|
||||
const results = [];
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
|
||||
Reference in New Issue
Block a user