ReadLightNovel: Remove hidden class to avoid double chapterText (#13)
This commit is contained in:
@@ -153,7 +153,7 @@ const chapterScraper = async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(".alert").remove();
|
$(".alert").remove();
|
||||||
$("#growfoodsmart").remove();
|
$(".hidden").remove();
|
||||||
|
|
||||||
let chapterText = $(".desc").html();
|
let chapterText = $(".desc").html();
|
||||||
chapterText = htmlToText(chapterText).replace(/\n\nSponsored Content\n\n/g, "");
|
chapterText = htmlToText(chapterText).replace(/\n\nSponsored Content\n\n/g, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user