fix novelUrl in BoxNovel
This commit is contained in:
@@ -181,7 +181,7 @@ const searchScraper = async (req, res) => {
|
|||||||
const novelCover = $(this).find("img").attr("src");
|
const novelCover = $(this).find("img").attr("src");
|
||||||
|
|
||||||
let novelUrl = $(this).find("h4 > a").attr("href");
|
let novelUrl = $(this).find("h4 > a").attr("href");
|
||||||
novelUrl = novelUrlreplace(`${baseUrl}/`, "");
|
novelUrl = novelUrl.replace(`${baseUrl}/`, "");
|
||||||
|
|
||||||
const novel = {
|
const novel = {
|
||||||
extensionId: 1,
|
extensionId: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user