ReadNovelFull: fix novelName and novelCover

This commit is contained in:
Rajarshee Chatterjee
2021-04-03 09:45:01 +05:30
parent f9ec17ad89
commit 4bc1e9d7d2
+2 -2
View File
@@ -59,9 +59,9 @@ router.get("/novel/:novelUrl", (req, res) => {
novel.novelUrl = `${novelUrl}/`;
novel.novelName = $("h3.title").text();
novel.novelName = $("div.book > img").attr("alt");
novel.novelCover = $("img").attr("src");
novel.novelCover = $("div.book > img").attr("src");
novel.novelSummary = $("div.desc-text").text();