diff --git a/plugins/multisrc/readnovelfull/sources.json b/plugins/multisrc/readnovelfull/sources.json index 78712f436..e2fea55e5 100644 --- a/plugins/multisrc/readnovelfull/sources.json +++ b/plugins/multisrc/readnovelfull/sources.json @@ -16,7 +16,7 @@ "latestPage": "latest-release-novel", "searchPage": "search", "chapterListing": "ajax-chapter-option", - "versionIncrements": 1 + "versionIncrements": 2 } }, { diff --git a/plugins/multisrc/readnovelfull/template.ts b/plugins/multisrc/readnovelfull/template.ts index 565effe9c..b049f4887 100644 --- a/plugins/multisrc/readnovelfull/template.ts +++ b/plugins/multisrc/readnovelfull/template.ts @@ -1027,6 +1027,9 @@ export class ReadNovelFullPlugin implements Plugin.PluginBase { const result = await fetchApi(url, fetchOptions); this.lastSearch = Date.now(); + // Some sites (e.g. novelfull.com) return 404 for pages past the last one + if (result.status === 404 && page > 1) return []; + if (!result.ok) { throw new Error( `Could not reach site ('${result.status}') try to open in webview.`,