mirror of
https://github.com/Jackett/Jackett
synced 2024-12-30 19:58:39 +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
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -96,7 +100,10 @@ search:
|
|||
inputs:
|
||||
page: torrents
|
||||
$raw: "&category={{ range .Categories }}{{.}};{{end}}"
|
||||
# 0 all, 1 activeonly, 2 deadonly
|
||||
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 }}"
|
||||
order: "{{ .Config.sort }}"
|
||||
by: "{{ .Config.type }}"
|
||||
|
@ -114,6 +121,10 @@ search:
|
|||
title:
|
||||
selector: td[valign="middle"] a
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["\\.+", "."] # More than 1 dot -> .
|
||||
- name: re_replace
|
||||
args: ["^\\.", ""] # Delete first dot
|
||||
- name: re_replace
|
||||
args: ["\\/", " "]
|
||||
- name: re_replace
|
||||
|
@ -134,7 +145,7 @@ search:
|
|||
- name: replace
|
||||
args: ["CAT", "Catalan"]
|
||||
- name: replace
|
||||
args: ["FRA", "French"]
|
||||
args: ["FR[AE]", "French"]
|
||||
- name: replace
|
||||
args: ["JAP", "Japanese"]
|
||||
- name: replace
|
||||
|
@ -143,6 +154,14 @@ search:
|
|||
args: ["RUS", "Russian"]
|
||||
- name: replace
|
||||
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:
|
||||
selector: td[valign="middle"] a
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in a new issue