1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-10 23:06:01 +00:00

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`
This commit is contained in:
Hot Garbage
2025-09-01 12:15:06 -07:00
committed by GitHub
parent 0ff1feaef0
commit 9e7efb187b

View File

@@ -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",