Fix: Modules should send back the Link as part of the manga object

master
masterhc 1 year ago
parent 5bdab02aea
commit 2afe5806cd

@ -248,7 +248,7 @@ module.exports = class AsuraModule
} }
aux['Status'] = parsed.querySelectorAll('.imptdt')[0].innerText.split('\n')[1].split(' ')[1]; aux['Status'] = parsed.querySelectorAll('.imptdt')[0].innerText.split('\n')[1].split(' ')[1];
aux['Type'] = parsed.querySelectorAll('.imptdt')[1].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}
} }
} }

@ -249,7 +249,7 @@ module.exports = class ReaperModule
aux[key] = table[i + 1].trim(); aux[key] = table[i + 1].trim();
} }
return {description, img, ...aux, tags, title:auxTitle, latestChap} return {description, img, ...aux, tags, title:auxTitle, latestChap, link:Link}
} }
} }

Loading…
Cancel
Save