HD-Olimpo: Tracker optimization for *arr suite (#9704)

This commit is contained in:
Jose Antonio 2020-10-01 20:22:38 +02:00 committed by GitHub
parent 454177ce9b
commit 0da46f4d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -104,8 +104,25 @@ search:
filters: filters:
- name: regexp - name: regexp
args: "/categories/(\\d+)" args: "/categories/(\\d+)"
title: title:
selector: a.view-torrent 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: download:
selector: a[href*="/download/"] selector: a[href*="/download/"]
attribute: href attribute: href