update mangas
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user