diff --git a/src/sources/en/readlightnovel.ts b/src/sources/en/readlightnovel.ts index c012d90b..2c05c0bb 100644 --- a/src/sources/en/readlightnovel.ts +++ b/src/sources/en/readlightnovel.ts @@ -62,14 +62,14 @@ const parseNovelAndChapters = async (novelUrl: string) => { loadedCheerio('.novel-detail-item').each(function () { const detailName = loadedCheerio(this) - .find('.novel-detail-header > h6') - .text(); + .find('.novel-detail-header ') + .text() + .trim(); const detail = loadedCheerio(this).find('.novel-detail-body').text().trim(); switch (detailName) { case 'Genre': genre = detail.trim().replace(/\s{2,}/g, ','); - break; case 'Author(s)': author = detail;