assorted: fix field names format (#14910)

This commit is contained in:
ilike2burnthing
2023-12-14 00:44:05 +00:00
committed by GitHub
parent 5973a7eed4
commit 390789d86e
6 changed files with 17 additions and 29 deletions

View File

@@ -173,7 +173,7 @@ search:
img.pro_free2up: 2
img.pro_2up: 2
"*": 1
_cat:
category_title:
selector: a[href^="?cat="] > img
attribute: title
description:
@@ -181,7 +181,7 @@ search:
remove: a, img
filters:
- name: prepend
args: "cat={{ .Result._cat }} - "
args: "cat={{ .Result.category_title }} - "
minimumratio:
text: 0.9
# NexusPHP v1.8.8 2023-09-25

View File

@@ -135,14 +135,14 @@ search:
size:
selector: td:nth-of-type(10)
remove: a
_cat:
category_title:
selector: td:nth-of-type(1) a img
attribute: alt
description:
selector: td:nth-of-type(4)
filters:
- name: prepend
args: "cat={{ .Result._cat }}, wait="
args: "cat={{ .Result.category_title }}, wait="
downloadvolumefactor:
case:
img[src="img/freedownload.png"]: 0

View File

@@ -349,12 +349,14 @@ search:
selector: table.lista[width="100%"] > tbody > tr:has(a[href^="index.php?page=torrent-details&id="][title])
fields:
category:
category_id:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
category:
text: "{{ .Result.category_id }}"
title:
selector: a[href^="index.php?page=torrent-details&id="][title]
details:
@@ -389,22 +391,12 @@ search:
grabs:
selector: td:nth-child(2) > table > tbody > tr:nth-child(5) > td
remove: strong
_cat:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
- name: prepend
args: "category="
- name: append
args: "; "
description:
selector: td:nth-child(2)
remove: table
filters:
- name: prepend
args: "{{ .Result._cat }}"
args: "category={{ .Result.category_id }}; "
downloadvolumefactor:
text: 0
uploadvolumefactor:

View File

@@ -119,7 +119,7 @@ search:
filters:
- name: regexp
args: "Torrent neve: (.*?)<"
_descr:
title_hungarian:
selector: a[href^="details.php?id="] > b
attribute: title
filters:
@@ -176,8 +176,8 @@ search:
args: ["(?i)(0.5x|2x|3x|4x)", ""]
description:
case:
img[src$="/pic/yes.png"]: "Verified: {{ if .Result.genre }}{{ .Result.genre }}<br>{{ else }}{{ end }}{{ .Result._descr }}"
img[src$="/pic/nincs.png"]: "Unverified: {{ if .Result.genre }}{{ .Result.genre }}<br>{{ else }}{{ end }}{{ .Result._descr }}"
img[src$="/pic/yes.png"]: "Verified: {{ if .Result.genre }}{{ .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.title_hungarian }}"
img[src$="/pic/nincs.png"]: "Unverified: {{ if .Result.genre }}{{ .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.title_hungarian }}"
minimumratio:
text: 1.0
minimumseedtime:

View File

@@ -56,11 +56,11 @@ search:
filters:
- name: prepend
args: "Tags: "
_descr:
description_text:
selector: p.level
optional: true
description:
text: "{{ .Result._descr }}</br>{{ .Result._actress }}</br>{{ .Result._tags }}"
text: "{{ .Result.description_text }}</br>{{ .Result._actress }}</br>{{ .Result._tags }}"
date:
selector: p.is-6 > a
attribute: href

View File

@@ -68,12 +68,14 @@ search:
selector: div.search-media > div.media
fields:
category:
category_id:
selector: div.media-content > a[href^="./board.php"]
attribute: href
filters:
- name: querystring
args: bo_table
category:
text: "{{ .Result.category_id }}"
title:
selector: div.media-heading > a[href^="./board.php"]
details:
@@ -86,14 +88,8 @@ search:
# 2020-03-28T01:30:01+09:00
selector: time
attribute: datetime
_cat:
selector: div.media-heading > a[href^="./board.php"]
attribute: href
filters:
- name: querystring
args: bo_table
size:
text: "{{ if ne .Result._cat \"mov\" }}512 MB{{ else }}2 GB{{ end }}"
text: "{{ if ne .Result.category_id \"mov\" }}512 MB{{ else }}2 GB{{ end }}"
seeders:
text: 1
leechers: