1
0
Fork 0
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:
Garfield69 2020-04-01 15:11:03 +13:00
parent 8e64ecb027
commit cfee3e79d2

View file

@ -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