From 633dc71143d7099d8baaaba511d8c786d962ec81 Mon Sep 17 00:00:00 2001 From: Tangent Date: Tue, 5 Nov 2024 09:42:00 -0700 Subject: [PATCH] epub notes --- make-epub.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-epub.lua b/make-epub.lua index e960821..e008841 100644 --- a/make-epub.lua +++ b/make-epub.lua @@ -24,7 +24,7 @@ Configuration example: "author": "Name", "title": "Book", "keywords": ["fantasy", "dragon", "isekai"], - "base_url": "https://www.literotica.com/s/title-ch-", + "base_url": "https://www.literotica.com/s/title-ch-", -- not required if only one section "first_section_url": "https://www.literotica.com/s/title", "sections": { "start": 1, @@ -72,7 +72,7 @@ local function get_config() config.sections.start = 1 config.sections.finish = #config.sections config.manually_specified_sections = true -- decided to make this part of the config spec, but it's set here again just in case - config.base_url = "http://example.com/" -- must be defined to prevent errors; discarded for this use case + config.base_url = "http://example.com/" -- must be defined to prevent errors; it will be manipulated and ignored in this use case end if #config.page_counts ~= config.sections.finish - config.sections.start + 1 then