mirror of
https://github.com/Jackett/Jackett
synced 2025-01-04 06:22:45 +00:00
torrentproject2: alternate date parsing resolves #10435
This commit is contained in:
parent
a92a3cb00d
commit
7f0477c6fc
1 changed files with 15 additions and 1 deletions
|
@ -82,9 +82,23 @@ search:
|
||||||
download:
|
download:
|
||||||
selector: span > a
|
selector: span > a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
date:
|
||||||
|
# Sep. 7th '10
|
||||||
|
selector: div > span:nth-child(4):not(:contains(":"))
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(st|nd|rd|th)", ""]
|
||||||
|
- name: replace
|
||||||
|
args: ["'", ""]
|
||||||
|
- name: append
|
||||||
|
args: " -07:00" # PDT
|
||||||
|
- name: dateparse
|
||||||
|
args: "Jan. 2 06 -07:00"
|
||||||
date:
|
date:
|
||||||
# 2020-11-05 07:34:44
|
# 2020-11-05 07:34:44
|
||||||
selector: div > span:nth-child(4)
|
selector: div > span:nth-child(4):contains(":")
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " -07:00" # PDT
|
args: " -07:00" # PDT
|
||||||
|
|
Loading…
Reference in a new issue