TapRead: fix search novelName

This commit is contained in:
Rajarshee Chatterjee
2021-05-18 08:50:10 +05:30
parent 2a237bc3c0
commit e4dcfb4e5d
+5 -2
View File
@@ -160,8 +160,11 @@ const searchScraper = async (req, res) => {
const novels = [];
body.result.storyList.map((novel) => {
const novelName = novel.storyName;
const novelUrl = novel.storyId;
const novelName = novel.storyName.replace(
'<font color="#FFCE2E">Demon</font>',
""
);
const novelUrl = novel.storyId + "/";
const novelCover = novel.coverUrl;
novels.push({ extensionId: 17, novelName, novelCover, novelUrl });