fix VipNovel novelCover

This commit is contained in:
Rajarshee Chatterjee
2021-05-04 09:45:06 +05:30
parent 7936ac9c44
commit 3c4c6a31aa
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -5,15 +5,17 @@ Sources for [LNReader](https://github.com/rajarsheechatterjee/lnreader)
## Sources ## Sources
| Source | Status | | Source | Status |
|----------------|:------------------:| | -------------- | :----------------: |
| BoxNovel | :heavy_check_mark: | | BoxNovel | :heavy_check_mark: |
| ReadLightNovel | :heavy_check_mark: | | ReadLightNovel | :heavy_check_mark: |
| FastNovel | :x: | | FastNovel | :x: |
| ReadNovelFull | :heavy_check_mark: | | ReadNovelFull | :heavy_check_mark: |
| MTLNovel | :x: | | MTLNovel | :x: |
| NovelHall | :heavy_check_mark: | | NovelHall | :heavy_check_mark: |
| WuxiaWorld | :heavy_check_mark: | | WuxiaWorld | :heavy_check_mark: |
| NovelFull | :heavy_check_mark: | | NovelFull | :heavy_check_mark: |
| NovelTrench | :heavy_check_mark: |
| VipNovel | :heavy_check_mark: |
## Setup locally ## Setup locally
+1 -1
View File
@@ -58,7 +58,7 @@ const novelScraper = async (req, res) => {
.replace(/[\t\n]/g, "") .replace(/[\t\n]/g, "")
.trim(); .trim();
novel.novelCover = $(".summary_image > a > img").attr("data-src"); novel.novelCover = $(".summary_image > a > img").attr("src");
$(".post-content_item").each(function (result) { $(".post-content_item").each(function (result) {
detailName = $(this) detailName = $(this)