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:
|
site_date:
|
||||||
selector: a
|
selector: a
|
||||||
filters:
|
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
|
- name: regexp
|
||||||
args: "(\\w+)$"
|
args: "(\\d{4})$"
|
||||||
title:
|
title:
|
||||||
selector: a
|
selector: a
|
||||||
filters:
|
filters:
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
||||||
# and we delete it at the end
|
# and we delete it at the end
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\w+)$", ""]
|
args: ["(\\d{4})$", ""]
|
||||||
details:
|
details:
|
||||||
selector: a
|
selector: a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user