Skip to content

Commit

Permalink
Fix: Find author on A03 series pages
Browse files Browse the repository at this point in the history
See: #1555
  • Loading branch information
dteviot committed Oct 25, 2024
1 parent 95202f9 commit ba8e645
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/js/parsers/ArchiveOfOurOwnParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

Expand Down

0 comments on commit ba8e645

Please sign in to comment.