LightNovelPub: Fix novelCover
This commit is contained in:
@@ -66,7 +66,7 @@ const novelScraper = async (req, res) => {
|
|||||||
.replace(/[\t\n]/g, "")
|
.replace(/[\t\n]/g, "")
|
||||||
.trim();
|
.trim();
|
||||||
|
|
||||||
novel.novelCover = $("img").attr("src");
|
novel.novelCover = $("figure.cover > img").attr("src");
|
||||||
|
|
||||||
novel["Genre(s)"] = "";
|
novel["Genre(s)"] = "";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user