Novel Wuxia: Add status

This commit is contained in:
Rajarshee Chatterjee
2021-06-11 11:41:58 +05:30
parent 2c8df8dfc6
commit 5aa0383a74
+3
View File
@@ -69,6 +69,9 @@ const novelScraper = async (req, res) => {
novel.novelCover = $(`img[title="${novel.novelName}"]`).attr("src");
novel["Artist(s)"] = "";
novel.Status = "";
$(".col-6.col-sm-6 > b").each(function (result) {
const detailName = $(this).text();
const detail = $(this)[0].nextSibling.nodeValue.trim();