TapRead: fix search novelName
This commit is contained in:
@@ -160,8 +160,11 @@ const searchScraper = async (req, res) => {
|
|||||||
const novels = [];
|
const novels = [];
|
||||||
|
|
||||||
body.result.storyList.map((novel) => {
|
body.result.storyList.map((novel) => {
|
||||||
const novelName = novel.storyName;
|
const novelName = novel.storyName.replace(
|
||||||
const novelUrl = novel.storyId;
|
'<font color="#FFCE2E">Demon</font>',
|
||||||
|
""
|
||||||
|
);
|
||||||
|
const novelUrl = novel.storyId + "/";
|
||||||
const novelCover = novel.coverUrl;
|
const novelCover = novel.coverUrl;
|
||||||
|
|
||||||
novels.push({ extensionId: 17, novelName, novelCover, novelUrl });
|
novels.push({ extensionId: 17, novelName, novelCover, novelUrl });
|
||||||
|
|||||||
Reference in New Issue
Block a user