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 }}"
|
||||
pass: "{{ .Config.password }}"
|
||||
submit: ""
|
||||
headers:
|
||||
"[:authority]": "yggtorrent.com"
|
||||
"[:method]": "post"
|
||||
"[:path]": "/"
|
||||
"[:scheme]": "https"
|
||||
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:
|
||||
path: "/"
|
||||
selector: "a[href$=\"user/logout\"]"
|
||||
|
Reference in New Issue
Block a user