mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
xbytes2: Improve Tracker Name, WEBDL Detection, Languages. Freeleench only option (#10752)
This commit is contained in:
parent
f64cdefefc
commit
cced447ef6
1 changed files with 20 additions and 1 deletions
|
@ -57,6 +57,10 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -96,7 +100,10 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
page: torrents
|
page: torrents
|
||||||
$raw: "&category={{ range .Categories }}{{.}};{{end}}"
|
$raw: "&category={{ range .Categories }}{{.}};{{end}}"
|
||||||
|
# 0 all, 1 activeonly, 2 deadonly
|
||||||
active: 1
|
active: 1
|
||||||
|
# 0 title, 1 title&desc, 2 descr, 3 uploaders, 5 gold, 6 silver, 7 bronze, 8 1x, 9 2x, 10 3x, 11 4x, 12 5x, 13 6x, 14 7x, 15 8x, 16 9x, 17 10x
|
||||||
|
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
by: "{{ .Config.type }}"
|
by: "{{ .Config.type }}"
|
||||||
|
@ -114,6 +121,10 @@ search:
|
||||||
title:
|
title:
|
||||||
selector: td[valign="middle"] a
|
selector: td[valign="middle"] a
|
||||||
filters:
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\.+", "."] # More than 1 dot -> .
|
||||||
|
- name: re_replace
|
||||||
|
args: ["^\\.", ""] # Delete first dot
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["\\/", " "]
|
args: ["\\/", " "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
@ -134,7 +145,7 @@ search:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["CAT", "Catalan"]
|
args: ["CAT", "Catalan"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["FRA", "French"]
|
args: ["FR[AE]", "French"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["JAP", "Japanese"]
|
args: ["JAP", "Japanese"]
|
||||||
- name: replace
|
- name: replace
|
||||||
|
@ -143,6 +154,14 @@ search:
|
||||||
args: ["RUS", "Russian"]
|
args: ["RUS", "Russian"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["DUAL", "Spanish English"]
|
args: ["DUAL", "Spanish English"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["MHD", "MHD.BDRip"] # Fix for Radarr
|
||||||
|
- name: re_replace
|
||||||
|
args: ["WEB.DL", "WEBDL"] # Fix for Radarr
|
||||||
|
- name: re_replace
|
||||||
|
args: ["WEBDL.MHD.BDRip", "WEBDL"] # Fix for Radarr
|
||||||
|
- name: re_replace
|
||||||
|
args: ["WEBRIP.MHD.BDRip", "WEBRIP"] # Fix for Radarr
|
||||||
details:
|
details:
|
||||||
selector: td[valign="middle"] a
|
selector: td[valign="middle"] a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in a new issue