mirror of
https://github.com/janeczku/calibre-web
synced 2025-09-14 16:54:05 +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:
@@ -1201,6 +1201,9 @@ def NATIVE_KOBO_RESOURCES():
|
|||||||
"image_host": "//cdn.kobo.com/book-images/",
|
"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_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",
|
"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_credit_redemption": "False",
|
||||||
"kobo_audiobooks_enabled": "True",
|
"kobo_audiobooks_enabled": "True",
|
||||||
"kobo_audiobooks_orange_deal_enabled": "False",
|
"kobo_audiobooks_orange_deal_enabled": "False",
|
||||||
|
Reference in New Issue
Block a user