mirror of https://github.com/Jackett/Jackett
freedomtorrent: handler login errors and poster on/off
This commit is contained in:
parent
bb595337bd
commit
543ea776c4
|
@ -37,7 +37,9 @@
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
error:
|
error:
|
||||||
- selector: form[action*="/login"] .text-red
|
- selector: script[nonce]:contains("Error")
|
||||||
|
message:
|
||||||
|
selector: script[nonce]:contains("Error")
|
||||||
test:
|
test:
|
||||||
path: torrents
|
path: torrents
|
||||||
|
|
||||||
|
@ -73,14 +75,21 @@
|
||||||
details:
|
details:
|
||||||
selector: a.view-torrent
|
selector: a.view-torrent
|
||||||
attribute: href
|
attribute: href
|
||||||
|
banner:
|
||||||
|
optional: true
|
||||||
|
selector: div.torrent-poster img
|
||||||
|
attribute: src
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["https://via.placeholder.com/600x900", ""]
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-last-child(4)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-last-child(3)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-last-child(2)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(8)
|
selector: td:nth-last-child(1)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ([\d\.]+)
|
args: ([\d\.]+)
|
||||||
|
|
Loading…
Reference in New Issue