mirror of https://github.com/Jackett/Jackett
abtorrents: fix publish date
This commit is contained in:
parent
e9f7e4d13f
commit
cc8a980a70
|
@ -139,20 +139,22 @@ search:
|
||||||
files:
|
files:
|
||||||
selector: td:nth-last-child(9)
|
selector: td:nth-last-child(9)
|
||||||
date_day:
|
date_day:
|
||||||
# Yesterday<br/>6:00 AM
|
|
||||||
selector: td:nth-last-child(7):contains("day")
|
|
||||||
# auto adjusted by site account profile
|
# auto adjusted by site account profile
|
||||||
|
# Yesterday, 6:00 AM
|
||||||
|
selector: td:nth-last-child(7) > span[title*="day"]
|
||||||
|
attribute: title
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: fuzzytime
|
- name: fuzzytime
|
||||||
date_year:
|
date_year:
|
||||||
# Aug 6 2021<br/>7:25 PM
|
|
||||||
selector: td:nth-last-child(7):not(:contains("day"))
|
|
||||||
# auto adjusted by site account profile
|
# auto adjusted by site account profile
|
||||||
|
# Aug 6 2021, 7:25 PM
|
||||||
|
selector: td:nth-last-child(7) > span[title]:not([title*="day"])
|
||||||
|
attribute: title
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "MMM d yyyy h:mm tt"
|
args: "MMM d yyyy, h:mm tt"
|
||||||
date:
|
date:
|
||||||
text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
|
text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
|
|
Loading…
Reference in New Issue