pterclub: fix game selectors

This commit is contained in:
Garfield69 2022-10-27 17:16:04 +13:00
parent 1b0ec029c9
commit aca9162c70
1 changed files with 3 additions and 3 deletions

View File

@ -121,15 +121,15 @@ search:
- name: querystring
args: cat
title_default:
selector: a[href^="details.php?id="]
selector: a[href^="details.php?id="], a[href^="detailsgame.php?"]
title_optional:
optional: true
selector: a[title][href^="details.php?id="],a[title][href^="detailsgame.php?id="]
selector: a[title][href^="details.php?id="], a[title][href^="detailsgame.php?id="]
attribute: title
title:
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
details:
selector: a[href^="details.php?id="]
selector: a[href^="details.php?id="], a[href^="detailsgame.php?"]
attribute: href
download:
selector: a[href^="download.php?id="]