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 = {
|
||||
@@ -30,7 +30,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();
|
||||
@@ -61,7 +61,7 @@ async function getContentData(url) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapters(url) {
|
||||
async function extractChapters(url) {
|
||||
const results = [];
|
||||
try {
|
||||
const fullUrl = url.replace(/\/[^/]+$/, "/full-chapter-list");
|
||||
@@ -93,7 +93,7 @@ async function getChapters(url) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getChapterImages(url) {
|
||||
async function extractImages(url) {
|
||||
const results = [];
|
||||
try {
|
||||
const fullUrl = url + "/images?is_prev=False¤t_page=1&reading_style=long_strip";
|
||||
|
||||
Reference in New Issue
Block a user