teamhd: possible fix for access error. #7819

This commit is contained in:
Garfield69 2020-03-24 20:33:46 +13:00
parent 40705eebde
commit 98d1f579ee
1 changed files with 12 additions and 9 deletions

View File

@ -38,7 +38,7 @@
# test: # test:
# path: index.php # path: index.php
# selector: a[href="/logout.php"] # selector: a[href="/logout.php"]
settings: settings:
- name: cookie - name: cookie
type: text type: text
@ -58,20 +58,23 @@
cookie: "{{ .Config.cookie }}" cookie: "{{ .Config.cookie }}"
test: test:
path: index.php path: index.php
selector: a[href="/logout.php"] selector: a[href*="/logout.php"]
search: search:
paths: paths:
- path: browse - path: browse
inputs: inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
incldead: 0 # 0 active 1 incldead 2 onlydead 3 noseeders
incldead: 1
# 0 all 1 gold 2 silver 3 normal
free: 0 free: 0
year: "" year: ""
rows: rows:
selector: table.browse > tbody > tr selector: table.browse > tbody > tr
fields: fields:
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
@ -115,9 +118,9 @@
remove: strong remove: strong
downloadvolumefactor: downloadvolumefactor:
case: case:
a[href^="/details/id"][style="color:#f2b101"]: "0" a[href^="/details/id"][style="color:#f2b101"]: 0
a[href^="/details/id"][style="color:#828b8b"]: "0.5" a[href^="/details/id"][style="color:#828b8b"]: 0.5
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: text: 1
"*": "1" # engine n/a