ReadLightNovel: Remove hidden class to avoid double chapterText (#13)

This commit is contained in:
Bread Genie
2021-05-12 14:24:00 +05:30
committed by GitHub
parent 5eb0b31d7d
commit 84e16a1827
@@ -153,7 +153,7 @@ const chapterScraper = async (req, res) => {
});
$(".alert").remove();
$("#growfoodsmart").remove();
$(".hidden").remove();
let chapterText = $(".desc").html();
chapterText = htmlToText(chapterText).replace(/\n\nSponsored Content\n\n/g, "");