bithumen: PublishDate to torrents from current year was handled wrongly. (#4978)

This commit is contained in:
morpheus133
2019-03-27 21:10:52 +01:00
committed by garfield69
parent a86e1e82f2
commit 88a24cad1e

View File

@@ -135,13 +135,24 @@
- name: replace
args: ["×", ""]
date:
selector: td:nth-child(5)
selector: td:nth-child(5):contains('.')
optional: true
remove: font
filters:
- name: replace
args: [". ", " "]
- name: prepend
args: "2019."
- name: re_replace
args: ["([0-9]{4}).([0-9]+).([0-9]+) (.*)", "$2.$3.$1 $4"]
date:
selector: td:nth-child(5):contains('ma'), td:nth-child(5):contains("tegnap"), td:nth-child(5):contains('-')
optional: true
remove: font
filters:
- name: replace
args: ["ma", "today"]
- name: replace
args: ["tegnap", "yesterday"]
description:
selector: td:nth-child(2) > div