Skip to content

Commit

Permalink
Merge pull request #1082 from praschke/patch-1
Browse files Browse the repository at this point in the history
fix typo in AlphapolisParser.js
  • Loading branch information
dteviot authored Sep 28, 2023
2 parents 937e0e5 + 3e5b83a commit 2071f95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
{ "name": "Yoanhg421"},
{ "name": "xRahul"},
{ "name": "Oleksii Taranenko"},
{ "name": "Naheulf"}
{ "name": "Naheulf"},
{ "name": "praschke"}
],
"license": "GPL-3.0-only",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions plugin/js/parsers/AlphapolisParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class AlphapolisParser extends Parser{
return util.hyperlinksToChapterList(menu);
}
findContent(dom) {
return dom.querySelector("div#novelBoby");
return dom.querySelector("div#novelBody");
}
extractTitleImpl(dom) {
return dom.querySelector("h2.title");
return dom.querySelector("div.content-main .title");
}
extractAuthor(dom) {
let authorLink = dom.querySelector("div.author a");
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Credits
* xRahul
* Oleksii Taranenko
* Naheulf
* praschke

## How to use with Baka-Tsuki:
* Browse to a Baka-Tsuki web page that has the full text of a story.
Expand Down

0 comments on commit 2071f95

Please sign in to comment.