femdomcult: fix torrents without date (#10434)

This commit is contained in:
Diego Heras 2020-12-07 21:56:36 +01:00 committed by GitHub
parent 92f7277cb1
commit dda3f033aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -82,8 +82,7 @@ search:
title: "{{ .Keywords }}"
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
action: basic
searchsubmit: 1
action: advanced
rows:
# exclude redbar torrents
@ -117,9 +116,12 @@ search:
args: ["/static/common/noartwork/noimage.png", ""]
files:
selector: td:nth-child(3)
date: # some torrents have "Never" date
text: 20 years ago
date:
selector: td:nth-child(5) > span
attribute: title
optional: true
filters:
- name: append
args: " +00:00" # auto adjusted by site account profile