mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-30 23:47:17 +02:00
mononokebt: add vostfr checkbox for add to titles (#10816)
This commit is contained in:
@@ -16,6 +16,18 @@ caps:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: vostfr
|
||||
type: checkbox
|
||||
label: Add VOSTFR to titles
|
||||
default: false
|
||||
|
||||
login:
|
||||
path: takelogin.php
|
||||
method: post
|
||||
@@ -40,8 +52,12 @@ search:
|
||||
fields:
|
||||
category:
|
||||
text: 1
|
||||
title:
|
||||
title_normal:
|
||||
selector: a[href^="details.php?id="]
|
||||
title_vostfr:
|
||||
text: "{{ .Result.title_normal }} VOSTFR"
|
||||
title:
|
||||
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_normal }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
Reference in New Issue
Block a user