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
1 changed files with 3 additions and 3 deletions

View File

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