sportscult: specify the login form and improve error selection (#14204)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Bogdan
2023-04-02 09:03:44 +03:00
committed by GitHub
parent b7ef6fc29a
commit eb17132fbd

View File

@@ -96,17 +96,22 @@ settings:
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
- name: flaresolverr
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolverr</a> to access it.
login:
path: ?page=login
path: index.php?page=login
method: form
form: form
form: "#bodyarea form"
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: span:contains("Password Incorrect")
- selector: span:contains("Username Incorrect")
- selector: td.lista span:contains("Username Incorrect")
- selector: td.lista span:contains("Password Incorrect")
- selector: td.lista span[style="color:#FF0000;"]
test:
path: index.php
selector: a[href="logout.php"]