Add NovelasLigera (#26)

This commit is contained in:
Rajarshee Chatterjee
2021-06-02 12:07:30 +05:30
committed by GitHub
parent 6a675be3bd
commit 894e4e8e9b
8 changed files with 253 additions and 2 deletions
@@ -131,7 +131,7 @@ const chapterScraper = async (req, res) => {
let chapterName = $("h1.post-title").text();
let chapterText = $(".post-content").html();
chapterText = htmlToText(chapterText, { preserveNewlines: true });
chapterText = parseHtml(chapterText);
let nextChapter = null;
let prevChapter = null;