From 9e7efb187bb73c1aa750adc7ec6be4dc9303aa2d Mon Sep 17 00:00:00 2001 From: Hot Garbage <97412179+HotGarbo@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:15:06 -0700 Subject: [PATCH] kobo: add Instapaper config Latest firmware version writes empty values for Instapaper parameters if missing from the /initialization response. Add default values to `NATIVE_KOBO_RESOURCES` --- cps/kobo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cps/kobo.py b/cps/kobo.py index 1a8dd9137..fabd05059 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -1201,6 +1201,9 @@ def NATIVE_KOBO_RESOURCES(): "image_host": "//cdn.kobo.com/book-images/", "image_url_quality_template": "https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/{Quality}/{IsGreyscale}/image.jpg", "image_url_template": "https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/false/image.jpg", + "instapaper_enabled": "True", + "instapaper_env_url": "https://www.instapaper.com/api/kobo", + "instapaper_link_account_start": "https://authorize.kobo.com/{region}/{language}/linkinstapaper", "kobo_audiobooks_credit_redemption": "False", "kobo_audiobooks_enabled": "True", "kobo_audiobooks_orange_deal_enabled": "False",