hdolimpo: validate api key when the indexer is configured (#12839)

This commit is contained in:
Diego Heras 2022-01-16 15:14:43 +01:00 committed by GitHub
parent 60d2c425e1
commit f2d21899e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,14 @@ settings:
desc: desc
asc: asc
login:
path: /api/torrents
method: get
inputs:
api_token: "{{ .Config.apikey }}"
error:
- selector: a[href*="/login"]
search:
paths:
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html