From 12c6d2d27fdd32dd6c2e0669e5c195bc5e1b5e92 Mon Sep 17 00:00:00 2001 From: dteviot Date: Wed, 27 Dec 2023 07:47:18 +1300 Subject: [PATCH] Fix https://kakuyomu.jp/ site change See: https://github.com/dteviot/WebToEpub/issues/1131 --- plugin/js/parsers/KakuyomuParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/js/parsers/KakuyomuParser.js b/plugin/js/parsers/KakuyomuParser.js index afcb1daa..06b5fc82 100644 --- a/plugin/js/parsers/KakuyomuParser.js +++ b/plugin/js/parsers/KakuyomuParser.js @@ -30,7 +30,7 @@ class KakuyomuParser extends Parser{ buildSubToc(chapters, tocc, json, baseURI) { let arcStartIndex = chapters.length; - for(let episoderef of tocc.episodes) { + for(let episoderef of tocc.episodeUnions) { let episode = this.buildEpisode(json[episoderef.__ref], baseURI); chapters.push(episode); }