fix novelUrl in BoxNovel

This commit is contained in:
Rajarshee Chatterjee
2021-05-03 18:33:50 +05:30
parent 8b555e4616
commit a3babada47
+1 -1
View File
@@ -181,7 +181,7 @@ const searchScraper = async (req, res) => {
const novelCover = $(this).find("img").attr("src");
let novelUrl = $(this).find("h4 > a").attr("href");
novelUrl = novelUrlreplace(`${baseUrl}/`, "");
novelUrl = novelUrl.replace(`${baseUrl}/`, "");
const novel = {
extensionId: 1,