1
0
Fork 0
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:
Garfield69 2020-12-08 12:29:04 +13:00
parent a92a3cb00d
commit 7f0477c6fc

View file

@ -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