From ab2804d4638f7c515e5e2838c05aab7cef9f10b7 Mon Sep 17 00:00:00 2001 From: Balrog57 <193098123+Balrog57@users.noreply.github.com> Date: Thu, 3 Sep 2026 23:53:19 +0200 Subject: [PATCH] fix(french): novhell shows no chapters in app --- plugins/french/novhell.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/french/novhell.ts b/plugins/french/novhell.ts index a71ea2013..19d316eb4 100644 --- a/plugins/french/novhell.ts +++ b/plugins/french/novhell.ts @@ -36,14 +36,15 @@ class NovhellPlugin implements Plugin.PluginBase { name = 'Novhell'; icon = 'src/fr/novhell/icon.png'; site = 'https://novhell.org'; - version = '1.0.4'; + version = '1.0.5'; async getCheerio(url: string): Promise { - return load( - await fetchCheckedHtml(url, { - headers: { 'Accept-Encoding': 'deflate' }, - }), - ); + // Do not override Accept-Encoding: the app already sends + // `gzip, deflate` with its Android User-Agent. Forcing `deflate` + // alone disables transparent decompression on Android (OkHttp): + // the HTML arrives compressed, cheerio finds nothing (0 chapters), + // while the webview (a real browser) renders everything. + return load(await fetchCheckedHtml(url)); } async popularNovels(pageNo: number): Promise {