torrentbd: path changes for selectors

the search path has dropped the prefix torrent/
and the download link new contains the absolute uri
This commit is contained in:
Garfield69
2020-09-21 15:11:10 +12:00
parent 34f0eaa818
commit bfcfe855bc

View File

@@ -105,12 +105,12 @@ login:
inputs: inputs:
cookie: "{{ .Config.cookie }}" cookie: "{{ .Config.cookie }}"
test: test:
path: torrent/ path: /
selector: button[href="account-logout.php"] selector: button[href="account-logout.php"]
search: search:
paths: paths:
- path: torrent/ajgettorrents.php - path: ajgettorrents.php
method: post method: post
inputs: inputs:
page: 1 page: 1
@@ -152,7 +152,7 @@ search:
args: ["wk", "week"] args: ["wk", "week"]
- name: timeago - name: timeago
download: download:
selector: a[href^="download.php?id="] selector: a[href*="download.php?id="]
attribute: href attribute: href
comments: comments:
selector: a[href*="#comments"] selector: a[href*="#comments"]