diff --git a/src/sources/es/tunovelaligera.js b/src/sources/es/tunovelaligera.js index 064caddd0..8d3263a99 100644 --- a/src/sources/es/tunovelaligera.js +++ b/src/sources/es/tunovelaligera.js @@ -162,17 +162,19 @@ const parseNovelAndChapters = async novelUrl => { novelChapters.push({ chapterName, releaseDate, chapterUrl }); }); - await delay(1000); + await delay(2000); } return novelChapters.reverse(); }; - novel.chapters = await getChapters(); - if (!novel.chapters.length) { - showToast('¡Archivo no encontrado!'); - await delay(1000); - novel.chapters = await getPageChapters(); - } + // novel.chapters = await getChapters(); + // if (!novel.chapters.length) { + // showToast('¡Archivo no encontrado!'); + // await delay(1000); + // + // } + + novel.chapters = await getPageChapters(); return novel; }; diff --git a/src/sources/id/indowebnovel.js b/src/sources/id/indowebnovel.js index 26f8780e1..040f2c92c 100644 --- a/src/sources/id/indowebnovel.js +++ b/src/sources/id/indowebnovel.js @@ -106,7 +106,7 @@ const parseChapter = async (novelUrl, chapterUrl) => { let loadedCheerio = cheerio.load(body); const chapterName = loadedCheerio('.title-chapter').text(); - const chapterText = loadedCheerio('.reader').html(); + const chapterText = loadedCheerio('.entry-pagination').next().html(); const chapter = { sourceId,