We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c276b commit 107cfe9Copy full SHA for 107cfe9
plugin/js/parsers/LightNovelsTranslationsParser.js
@@ -27,4 +27,13 @@ class LightNovelsTranslationsParser extends WordpressBaseParser {
27
getInformationEpubItemChildNodes(dom) {
28
return [...dom.querySelectorAll("div.novel_text")];
29
}
30
+
31
+ extractAuthor(dom) {
32
+ const authorEl = dom.querySelector("div.novel_detail_info > ul > li:nth-child(1)");
33
+ if (authorEl) {
34
+ return authorEl.textContent.replace("Author: ", "");
35
+ }
36
37
+ return "<unknown>";
38
39
0 commit comments