mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
cpasbienclone: fix year processing. resolves #7962
This commit is contained in:
parent
8e64ecb027
commit
cfee3e79d2
1 changed files with 3 additions and 3 deletions
|
@ -62,9 +62,9 @@
|
|||
site_date:
|
||||
selector: a
|
||||
filters:
|
||||
# date is at the end of the title, so we get it and name it site_date
|
||||
# year can be at the end of the title, so we get it and name it site_date
|
||||
- name: regexp
|
||||
args: "(\\w+)$"
|
||||
args: "(\\d{4})$"
|
||||
title:
|
||||
selector: a
|
||||
filters:
|
||||
|
@ -79,7 +79,7 @@
|
|||
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
||||
# and we delete it at the end
|
||||
- name: re_replace
|
||||
args: ["(\\w+)$", ""]
|
||||
args: ["(\\d{4})$", ""]
|
||||
details:
|
||||
selector: a
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in a new issue