Novel Wuxia: Fix details

This commit is contained in:
Rajarshee Chatterjee
2021-06-11 12:10:11 +05:30
parent fc9110763d
commit 5307436111
+1 -1
View File
@@ -77,7 +77,7 @@ const novelScraper = async (req, res) => {
let detail = $(this)[0].nextSibling; let detail = $(this)[0].nextSibling;
if (detailName && detail) { if (detailName && detail) {
detail = detail.nodeValue.trim(); detail = detail.nodeValue;
if (detailName.includes("Autor")) { if (detailName.includes("Autor")) {
novel["Author(s)"] = detail.replace("Autor:", ""); novel["Author(s)"] = detail.replace("Autor:", "");