mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +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:
|
||||
selector: span > a
|
||||
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:
|
||||
# 2020-11-05 07:34:44
|
||||
selector: div > span:nth-child(4)
|
||||
selector: div > span:nth-child(4):contains(":")
|
||||
optional: true
|
||||
filters:
|
||||
- name: append
|
||||
args: " -07:00" # PDT
|
||||
|
|
Loading…
Reference in a new issue