mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
YGGtorrent: fix login error detection
This commit is contained in:
@@ -103,13 +103,8 @@
|
|||||||
id: "{{ .Config.username }}"
|
id: "{{ .Config.username }}"
|
||||||
pass: "{{ .Config.password }}"
|
pass: "{{ .Config.password }}"
|
||||||
submit: ""
|
submit: ""
|
||||||
headers:
|
|
||||||
"[:authority]": "yggtorrent.com"
|
|
||||||
"[:method]": "post"
|
|
||||||
"[:path]": "/"
|
|
||||||
"[:scheme]": "https"
|
|
||||||
error:
|
error:
|
||||||
- selector: "body > div.page-content > div > div.col-md-10 > div > div > div > div > div.content-box-large.box-with-header > form > center > table > tbody > tr:nth-child(3) > td:nth-child(2) > button.text:contains('Se connecter')"
|
- selector: "form > center > span[style=\"color:red\"]"
|
||||||
test:
|
test:
|
||||||
path: "/"
|
path: "/"
|
||||||
selector: "a[href$=\"user/logout\"]"
|
selector: "a[href$=\"user/logout\"]"
|
||||||
|
Reference in New Issue
Block a user