Skip to content

Commit

Permalink
Site https://cangji.net/ changes
Browse files Browse the repository at this point in the history
See: #1070
  • Loading branch information
dteviot committed Sep 10, 2023
1 parent 3792501 commit d54c8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/js/parsers/CangjiParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class CangjiParser extends Parser{
}

static chaptersFromDom(dom) {
return [...dom.querySelectorAll("main .entry-title a")]
return [...dom.querySelectorAll("#content .entry-title a")]
.map(a => util.hyperLinkToChapter(a));
}

static nextTocPageUrl(dom) {
let link = dom.querySelector(".pagination-wrap .older a")
let link = dom.querySelector("a.next")
return link === null ? null : link.href;
}

Expand Down

0 comments on commit d54c8fb

Please sign in to comment.