From cfee3e79d269cb5dbf855deeada6fbd888e18e49 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 1 Apr 2020 15:11:03 +1300 Subject: [PATCH] cpasbienclone: fix year processing. resolves #7962 --- src/Jackett.Common/Definitions/cpasbienclone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Jackett.Common/Definitions/cpasbienclone.yml b/src/Jackett.Common/Definitions/cpasbienclone.yml index e6bf5c098..207ec7709 100644 --- a/src/Jackett.Common/Definitions/cpasbienclone.yml +++ b/src/Jackett.Common/Definitions/cpasbienclone.yml @@ -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