diff --git a/plugin/js/parsers/RanobesParser.js b/plugin/js/parsers/RanobesParser.js index 62dda223..14ed2552 100644 --- a/plugin/js/parsers/RanobesParser.js +++ b/plugin/js/parsers/RanobesParser.js @@ -59,6 +59,11 @@ class RanobesParser extends Parser{ return title; } + extractAuthor(dom) { + let authorLabel = dom.querySelector("span[itemprop='creator'] a"); + return authorLabel?.textContent ?? super.extractAuthor(dom); + } + findChapterTitle(dom) { let title = dom.querySelector("h1.title"); util.removeChildElementsMatchingCss(title, "span, div");