1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 22:23:20 +00:00

nethd: add dateparse #12246

This commit is contained in:
Garfield69 2021-09-02 17:43:09 +12:00
parent 5f100b2111
commit b8735f2d7e

View file

@ -119,9 +119,17 @@ search:
args: "-torrent-(\\d+).html"
- name: prepend
args: "download.php?id="
date:
# 2021-08-13<br>09:32:42
selector: td:nth-child(5):contains("-")
optional: true
filters:
- name: dateparse
args: "2006-01-0215:04:05"
date:
# 2 ngày<br/>23 giờ
selector: td:nth-child(5)
selector: td:nth-child(5):not(:contains("-"))
optional: true
filters:
- name: re_replace
args: ["năm", "years "]