From 3c4c6a31aa66a47733f780c4bf3a59992be15586 Mon Sep 17 00:00:00 2001 From: Rajarshee Chatterjee Date: Tue, 4 May 2021 09:45:06 +0530 Subject: [PATCH] fix VipNovel novelCover --- README.md | 8 +++++--- src/en/vipnovel/VipNovelScraper.js | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f62d427..ca0f24a 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,17 @@ Sources for [LNReader](https://github.com/rajarsheechatterjee/lnreader) ## Sources | Source | Status | -|----------------|:------------------:| +| -------------- | :----------------: | | BoxNovel | :heavy_check_mark: | | ReadLightNovel | :heavy_check_mark: | -| FastNovel | :x: | +| FastNovel | :x: | | ReadNovelFull | :heavy_check_mark: | -| MTLNovel | :x: | +| MTLNovel | :x: | | NovelHall | :heavy_check_mark: | | WuxiaWorld | :heavy_check_mark: | | NovelFull | :heavy_check_mark: | +| NovelTrench | :heavy_check_mark: | +| VipNovel | :heavy_check_mark: | ## Setup locally diff --git a/src/en/vipnovel/VipNovelScraper.js b/src/en/vipnovel/VipNovelScraper.js index 30d2694..050b54d 100644 --- a/src/en/vipnovel/VipNovelScraper.js +++ b/src/en/vipnovel/VipNovelScraper.js @@ -58,7 +58,7 @@ const novelScraper = async (req, res) => { .replace(/[\t\n]/g, "") .trim(); - novel.novelCover = $(".summary_image > a > img").attr("data-src"); + novel.novelCover = $(".summary_image > a > img").attr("src"); $(".post-content_item").each(function (result) { detailName = $(this)