mirror of https://github.com/Jackett/Jackett
YGGtorrent: fix login error detection
This commit is contained in:
parent
2c83038ea8
commit
318cc86c6b
|
@ -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\"]"
|
||||||
|
|
Loading…
Reference in New Issue