mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
untested
This commit is contained in:
@@ -44,6 +44,37 @@ caps:
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
|
- name: multilang
|
||||||
|
type: checkbox
|
||||||
|
label: Replace MULTI by another language in release name
|
||||||
|
default: false
|
||||||
|
- name: multilanguage
|
||||||
|
type: select
|
||||||
|
label: Replace MULTI by this language
|
||||||
|
default: FRENCH
|
||||||
|
options:
|
||||||
|
FRENCH: "FRENCH"
|
||||||
|
MULTI.FRENCH: "MULTI.FRENCH"
|
||||||
|
ENGLISH: "ENGLISH"
|
||||||
|
MULTI.ENGLISH: "MULTI.ENGLISH"
|
||||||
|
VOSTFR: "VOSTFR"
|
||||||
|
MULTI.VOSTFR: "MULTI.VOSTFR"
|
||||||
|
- name: vostfr
|
||||||
|
type: checkbox
|
||||||
|
label: Replace VOSTFR with ENGLISH
|
||||||
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login
|
path: login
|
||||||
method: form
|
method: form
|
||||||
@@ -51,7 +82,7 @@ login:
|
|||||||
inputs:
|
inputs:
|
||||||
_username: "{{ .Config.username }}"
|
_username: "{{ .Config.username }}"
|
||||||
_password: "{{ .Config.password }}"
|
_password: "{{ .Config.password }}"
|
||||||
_remember_me: "on"
|
_remember_me: on
|
||||||
error:
|
error:
|
||||||
- selector: :contains("\"success\":false")
|
- selector: :contains("\"success\":false")
|
||||||
test:
|
test:
|
||||||
@@ -65,15 +96,15 @@ search:
|
|||||||
args: ["^$", "null"]
|
args: ["^$", "null"]
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}subcat[]={{.}}&{{end}}"
|
$raw: "{{range .Categories}}subcat[]={{.}}&{{end}}"
|
||||||
exclu: "0"
|
exclu: 0
|
||||||
freeleech: "0"
|
freeleech: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
|
||||||
reseed: "0"
|
reseed: 0
|
||||||
rows:
|
rows:
|
||||||
selector: div.torrent-item
|
selector: div.torrent-item
|
||||||
filters:
|
filters:
|
||||||
- name: andmatch
|
- name: andmatch
|
||||||
fields:
|
fields:
|
||||||
title:
|
title_phase1:
|
||||||
selector: a.torrentlink
|
selector: a.torrentlink
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
@@ -81,8 +112,22 @@ search:
|
|||||||
args: ["(?i)(SEASON|SAISON) (\\d\\d)", "S$2"]
|
args: ["(?i)(SEASON|SAISON) (\\d\\d)", "S$2"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)(SEASON|SAISON) (\\d)", "S0$2"]
|
args: ["(?i)(SEASON|SAISON) (\\d)", "S0$2"]
|
||||||
|
title_multilang:
|
||||||
|
text: "{{ .Result.title_phase1 }}"
|
||||||
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i) (MULTI) ", " $1 FRENCH "]
|
args: ["(?i)(\\smulti\\s)", " {{ .Config.multilanguage }} "]
|
||||||
|
title_phase2:
|
||||||
|
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
|
||||||
|
title_vostfr:
|
||||||
|
text: "{{ .Result.title_phase2 }}"
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(\\svostfr\\s)", " ENGLISH "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(\\ssubfrench\\s)", " ENGLISH "]
|
||||||
|
title:
|
||||||
|
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
||||||
banner:
|
banner:
|
||||||
selector: a.torrentlink > img.img-responsive
|
selector: a.torrentlink > img.img-responsive
|
||||||
attribute: src
|
attribute: src
|
||||||
@@ -176,10 +221,8 @@ search:
|
|||||||
selector: div.completed
|
selector: div.completed
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
div.fl-label: "0"
|
div.fl-label: 0
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
text: 1
|
||||||
"*": "1"
|
# engine tbd
|
||||||
date:
|
|
||||||
text: "now"
|
|
||||||
|
Reference in New Issue
Block a user