This commit is contained in:
kaso17
2018-01-08 11:52:34 +01:00
2 changed files with 20 additions and 0 deletions

View File

@@ -88,6 +88,10 @@
type: checkbox type: checkbox
label: Only released and seeded torrents label: Only released and seeded torrents
default: false default: false
- name: dropbbc
type: checkbox
label: Drop "BBC " from the front of result titles
default: false
- name: info - name: info
type: info type: info
label: Category for Sonarr and Radarr label: Category for Sonarr and Radarr
@@ -131,9 +135,15 @@
title: title:
optional: true optional: true
selector: td.singleindent a[href^="/index.php?showtopic="] selector: td.singleindent a[href^="/index.php?showtopic="]
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
title: title:
optional: true optional: true
selector: td.doubleindent selector: td.doubleindent
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
details: details:
optional: true optional: true
selector: td.singleindent a[href^="/index.php?showtopic="] selector: td.singleindent a[href^="/index.php?showtopic="]

View File

@@ -88,6 +88,10 @@
type: checkbox type: checkbox
label: Only released and seeded torrents label: Only released and seeded torrents
default: false default: false
- name: dropbbc
type: checkbox
label: Drop "BBC " from the front of result titles
default: false
- name: info - name: info
type: info type: info
label: Category for Sonarr and Radarr label: Category for Sonarr and Radarr
@@ -131,9 +135,15 @@
title: title:
optional: true optional: true
selector: td.singleindent a[href^="/index.php?showtopic="] selector: td.singleindent a[href^="/index.php?showtopic="]
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
title: title:
optional: true optional: true
selector: td.doubleindent selector: td.doubleindent
filters:
- name: re_replace
args: ["BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
details: details:
optional: true optional: true
selector: td.singleindent a[href^="/index.php?showtopic="] selector: td.singleindent a[href^="/index.php?showtopic="]