From 2afe5806cd22ef9e561cedb27cafc8028ebb1dad Mon Sep 17 00:00:00 2001 From: masterhc Date: Sun, 21 Apr 2024 11:55:58 +0100 Subject: [PATCH] Fix: Modules should send back the Link as part of the manga object --- Modules/AsuraModule.js | 2 +- Modules/ReaperModule.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/AsuraModule.js b/Modules/AsuraModule.js index a1e1ce9..7decf4d 100644 --- a/Modules/AsuraModule.js +++ b/Modules/AsuraModule.js @@ -248,7 +248,7 @@ module.exports = class AsuraModule } aux['Status'] = parsed.querySelectorAll('.imptdt')[0].innerText.split('\n')[1].split(' ')[1]; aux['Type'] = parsed.querySelectorAll('.imptdt')[1].innerText.split('\n')[1].split(' ')[1]; - return {description, img, ...aux, tags, title:auxTitle, latestChap} + return {description, img, ...aux, tags, title:auxTitle, latestChap, link:Link} } } diff --git a/Modules/ReaperModule.js b/Modules/ReaperModule.js index 26ee6e8..8096262 100644 --- a/Modules/ReaperModule.js +++ b/Modules/ReaperModule.js @@ -249,7 +249,7 @@ module.exports = class ReaperModule aux[key] = table[i + 1].trim(); } - return {description, img, ...aux, tags, title:auxTitle, latestChap} + return {description, img, ...aux, tags, title:auxTitle, latestChap, link:Link} } }