update mangas
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
async function searchContent(keyword, page = 0) {
|
||||
async function searchResults(keyword, page = 0) {
|
||||
let results = [];
|
||||
try {
|
||||
const headers = {
|
||||
@@ -28,7 +28,7 @@ async function searchContent(keyword, page = 0) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getContentData(urlID) {
|
||||
async function extractDetails(urlID) {
|
||||
try {
|
||||
const url = urlID.split(".").slice(0, -1).join(".");
|
||||
const response = await fetch(url);
|
||||
@@ -49,7 +49,7 @@ async function getContentData(urlID) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapters(urlID) {
|
||||
async function extractChapters(urlID) {
|
||||
const results = [];
|
||||
try {
|
||||
function md5(string) {
|
||||
@@ -272,7 +272,7 @@ async function getChapters(urlID) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapterImages(url) {
|
||||
async function extractImages(url) {
|
||||
const results = [];
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
|
||||
Reference in New Issue
Block a user