mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Add the Jackett widget
- add the follow-redirect package - add the tough-cookie package Jackett API uses a redirect mechanism to set a CSRF token. This CSRF token is stored in a cookie that is required to be present or the API won't work.
This commit is contained in:
parent
945ed854a4
commit
f750876425
8 changed files with 135 additions and 5 deletions
|
@ -19,6 +19,7 @@ const formats = {
|
|||
coinmarketcap: `https://pro-api.coinmarketcap.com/{endpoint}`,
|
||||
gotify: `{url}/{endpoint}`,
|
||||
prowlarr: `{url}/api/v1/{endpoint}`,
|
||||
jackett: `{url}/api/v2.0/{endpoint}?apikey={key}&configured=true`
|
||||
};
|
||||
|
||||
export function formatApiCall(api, args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue