mirror of
https://github.com/benphelps/homepage.git
synced 2025-12-22 11:09:43 +01: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user