1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 11:48:49 +00:00

torrent-pirat: set date now resolves #10127

This commit is contained in:
Garfield69 2020-11-07 13:28:28 +13:00
parent c67afbd814
commit 86c997fb7b

View file

@ -220,22 +220,8 @@ search:
selector: span.leech
grabs:
selector: span.complet
find_date:
# 09.03.2020
# 09/03/2020
selector: a.topictitle
optional: true
filters:
- name: regexp
args: (\d{2}[\.|\/]\d{2}[\.|\/]\d{4})
- name: re_replace
args: ["\\/", "."]
- name: append
args: " +03:00" # MSK
- name: dateparse
args: "02.01.2006 -07:00"
date:
text: "{{ if .Result.find_date }}{{ .Result.find_date}}{{ else }}now{{ end }}"
text: now
downloadvolumefactor:
text: 0
uploadvolumefactor: