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:
parent
c67afbd814
commit
86c997fb7b
1 changed files with 1 additions and 15 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue