From df8da48c326a0c4431d23dc1c10a5dfcdeb4ae54 Mon Sep 17 00:00:00 2001 From: nguyd1 <91645046+nguyd1@users.noreply.github.com> Date: Mon, 8 Jan 2024 00:47:24 -0800 Subject: [PATCH] Fix NovelUpdates Covers (#880) --- src/sources/en/novelupdates.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sources/en/novelupdates.js b/src/sources/en/novelupdates.js index ca65c8ec6..13b308263 100644 --- a/src/sources/en/novelupdates.js +++ b/src/sources/en/novelupdates.js @@ -105,7 +105,9 @@ const parseNovelAndChapters = async novelUrl => { novel.novelName = loadedCheerio('.seriestitlenu').text(); - novel.novelCover = loadedCheerio('.seriesimg > img').attr('src'); + novel.novelCover = + loadedCheerio('.seriesimg > img').attr('src') || + loadedCheerio('.serieseditimg > img').attr('src'); novel.author = loadedCheerio('#showauthors').text().trim(); novel.genre = loadedCheerio('#seriesgenre')