diff --git a/src/Jackett.Common/Definitions/hdolimpo.yml b/src/Jackett.Common/Definitions/hdolimpo.yml index 488cc6a5f..85e8dfba3 100644 --- a/src/Jackett.Common/Definitions/hdolimpo.yml +++ b/src/Jackett.Common/Definitions/hdolimpo.yml @@ -104,8 +104,25 @@ search: filters: - name: regexp args: "/categories/(\\d+)" + title: selector: a.view-torrent + filters: + - name: re_replace + args: ["(?i)full", "BRDISK."] # FULL(BR/UHD) -> BRDISK + - name: re_replace + args: ["HDOlimpo", ""] # Delete HDOlimpo + - name: re_replace + args: ["HD-Olimpo", ""] # Delete HD-Olimpo + - name: re_replace + args: ["\\W", "."] # Spaces and other characters -> . + - name: append + args: ".Spanish-HDOlimpo" + - name: re_replace + args: ["\\.+", "."] # More than 1 dot -> . + - name: re_replace + args: ["^\\.", ""] # Delete first dot + download: selector: a[href*="/download/"] attribute: href