From 57cb444751a119d23f217a9b2aabbf9df3c526e3 Mon Sep 17 00:00:00 2001 From: dteviot Date: Tue, 19 Sep 2023 20:00:20 +1200 Subject: [PATCH] Fix: include ToC page for exiledrebelsscanlations See: https://github.com/dteviot/WebToEpub/issues/1040 --- plugin/js/parsers/ExiledrebelsscanlationsParser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/js/parsers/ExiledrebelsscanlationsParser.js b/plugin/js/parsers/ExiledrebelsscanlationsParser.js index 7603fec3..185579b2 100644 --- a/plugin/js/parsers/ExiledrebelsscanlationsParser.js +++ b/plugin/js/parsers/ExiledrebelsscanlationsParser.js @@ -13,7 +13,8 @@ class ExiledrebelsscanlationsParser extends Parser{ } findContent(dom) { - return dom.querySelector("div#wtr-content"); + return dom.querySelector("div#wtr-content") + || dom.querySelector("div.entry-content"); } populateUI(dom) {