mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cpasbienclone: fix year processing. resolves #7962
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user