From ba8e64552052ef23e5064fbed0656dd62978b352 Mon Sep 17 00:00:00 2001 From: dteviot Date: Fri, 25 Oct 2024 19:36:30 +1300 Subject: [PATCH] Fix: Find author on A03 series pages See: https://github.com/dteviot/WebToEpub/issues/1555 --- plugin/js/parsers/ArchiveOfOurOwnParser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/js/parsers/ArchiveOfOurOwnParser.js b/plugin/js/parsers/ArchiveOfOurOwnParser.js index 28afe234..ce617371 100644 --- a/plugin/js/parsers/ArchiveOfOurOwnParser.js +++ b/plugin/js/parsers/ArchiveOfOurOwnParser.js @@ -86,8 +86,7 @@ class ArchiveOfOurOwnParser extends Parser{ }; extractAuthor(dom) { - let author = dom.querySelector("h3.byline.heading a[rel='author']") - ?.innerText + let author = dom.querySelector("a[rel='author']")?.innerText; return author ?? super.extractAuthor(dom); };