blutopia: handle posters on/off and login errors

This commit is contained in:
Garfield69 2019-05-24 21:53:02 +12:00
parent d6f36349c9
commit 1253b15061
1 changed files with 8 additions and 5 deletions

View File

@ -27,9 +27,12 @@
password: "{{ .Config.password }}"
remember: 1
error:
- selector: div.has-error
- selector: script[nonce]:contains("Error")
message:
selector: script[nonce]:contains("Error")
test:
path: torrents
selector: a[href$="/logout"]
search:
paths:
@ -71,13 +74,13 @@
- name: replace
args: ["https://via.placeholder.com/600x900", ""]
size:
selector: td:nth-child(5)
selector: td:nth-last-child(4)
seeders:
selector: td:nth-child(6)
selector: td:nth-last-child(3)
leechers:
selector: td:nth-child(7)
selector: td:nth-last-child(2)
grabs:
selector: td:nth-child(8)
selector: td:nth-last-child(1)
filters:
- name: regexp
args: ([\d\.]+)