diff --git a/web/src/engine/websites/MangaParkPublisher.ts b/web/src/engine/websites/MangaParkPublisher.ts index 9a99b7ef63..d8143ae6a6 100644 --- a/web/src/engine/websites/MangaParkPublisher.ts +++ b/web/src/engine/websites/MangaParkPublisher.ts @@ -22,11 +22,9 @@ function MangaExtractor(anchor: HTMLAnchorElement) { }; } function ChapterExtractor(element: HTMLElement) { - const num = element.querySelector('div.chapterNumber span').textContent.trim(); - const title = element.querySelector('div.chapterNumber p.chapterTitle').textContent.trim(); return { id: element.dataset.chapterId, - title: (num + ' - ' + title).trim(), + title: element.querySelector('.chapterTitle').textContent.trim(), }; } diff --git a/web/src/engine/websites/MangaParkPublisher_e2e.ts b/web/src/engine/websites/MangaParkPublisher_e2e.ts index 3bae183184..5699f33393 100644 --- a/web/src/engine/websites/MangaParkPublisher_e2e.ts +++ b/web/src/engine/websites/MangaParkPublisher_e2e.ts @@ -12,7 +12,7 @@ const config = { }, child: { id: '606536', - title: '1 - 第1話①' + title: '第1話①' }, entry: { index: 0,