1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 05:36:44 +00:00

assorted nexus: fix date elapsed selector

This commit is contained in:
Garfield69 2024-11-13 21:15:21 +13:00
parent 835dc2cb15
commit bbe6a9ed41
2 changed files with 13 additions and 13 deletions

View file

@ -148,7 +148,7 @@ search:
attribute: href attribute: href
date_elapsed: date_elapsed:
# time type: time elapsed (default) # time type: time elapsed (default)
selector: td:nth-child(4) > span[title] selector: td.rowfollow:nth-child(4) > span[title]
attribute: title attribute: title
optional: true optional: true
filters: filters:
@ -158,7 +158,7 @@ search:
args: "yyyy-MM-dd HH:mm:ss zzz" args: "yyyy-MM-dd HH:mm:ss zzz"
date_added: date_added:
# time added # time added
selector: td:nth-child(4):not(:has(span)) selector: td.rowfollow:nth-child(4):not(:has(span))
optional: true optional: true
filters: filters:
- name: append - name: append
@ -168,17 +168,17 @@ search:
date: date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size: size:
selector: td:nth-child(5) selector: td.rowfollow:nth-child(5)
seeders: seeders:
selector: td:nth-child(6) selector: td.rowfollow:nth-child(6)
optional: true optional: true
default: 1 default: 1
leechers: leechers:
selector: td:nth-child(7) selector: td.rowfollow:nth-child(7)
optional: true optional: true
default: 1 default: 1
grabs: grabs:
selector: td:nth-child(8) selector: td.rowfollow:nth-child(8)
optional: true optional: true
default: 1 default: 1
downloadvolumefactor: downloadvolumefactor:
@ -204,7 +204,7 @@ search:
span[title="未审"], span[title="未審"], span[title="Not reviewed"]: "Unverified:" span[title="未审"], span[title="未審"], span[title="Not reviewed"]: "Unverified:"
span[title="拒绝"], span[title="拒絕"], span[title="Denied"]: "Banned:" span[title="拒绝"], span[title="拒絕"], span[title="Denied"]: "Banned:"
description: description:
selector: td:nth-child(2) selector: td.rowfollow:nth-child(2)
remove: a, b, font, img, span remove: a, b, font, img, span
filters: filters:
- name: prepend - name: prepend

View file

@ -205,7 +205,7 @@ search:
attribute: data-src attribute: data-src
date_elapsed: date_elapsed:
# time type: time elapsed (default) # time type: time elapsed (default)
selector: td:nth-child(4) > span[title] selector: td.rowfollow:nth-child(4) > span[title]
attribute: title attribute: title
optional: true optional: true
filters: filters:
@ -215,7 +215,7 @@ search:
args: "yyyy-MM-dd HH:mm:ss zzz" args: "yyyy-MM-dd HH:mm:ss zzz"
date_added: date_added:
# time added # time added
selector: td:nth-child(4):not(:has(span)) selector: td.rowfollow:nth-child(4):not(:has(span))
optional: true optional: true
filters: filters:
- name: append - name: append
@ -225,13 +225,13 @@ search:
date: date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size: size:
selector: td:nth-child(5) selector: td.rowfollow:nth-child(5)
seeders: seeders:
selector: td:nth-child(6) selector: td.rowfollow:nth-child(6)
leechers: leechers:
selector: td:nth-child(7) selector: td.rowfollow:nth-child(7)
grabs: grabs:
selector: td:nth-child(8) selector: td.rowfollow:nth-child(8)
description: description:
case: case:
span[title="Autorisé"]: "Verified" span[title="Autorisé"]: "Verified"