mirror of https://github.com/Jackett/Jackett
assorted yml: code tidy
This commit is contained in:
parent
f8aedfb95a
commit
9db7a76d56
|
@ -155,7 +155,7 @@ search:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["@", ""]
|
args: ["@", ""]
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
|
|
|
@ -39,7 +39,7 @@ login:
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
timeout: "1"
|
timeout: 1
|
||||||
error:
|
error:
|
||||||
- selector: div#error-text
|
- selector: div#error-text
|
||||||
test:
|
test:
|
||||||
|
@ -50,7 +50,7 @@ search:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
searchstr: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
searchstr: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr.torrent
|
selector: table#torrent_table > tbody > tr.torrent
|
||||||
fields:
|
fields:
|
||||||
|
@ -85,7 +85,7 @@ search:
|
||||||
selector: td.time_col > .time
|
selector: td.time_col > .time
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +01:00"
|
args: " +01:00" # CET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "Jan 02 2006, 15:04 -07:00"
|
args: "Jan 02 2006, 15:04 -07:00"
|
||||||
size:
|
size:
|
||||||
|
|
|
@ -118,7 +118,7 @@ search:
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
size:
|
size:
|
||||||
|
|
|
@ -137,7 +137,7 @@ search:
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
|
|
|
@ -106,7 +106,7 @@ search:
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
|
|
|
@ -50,7 +50,7 @@ search:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\bS0*(\\d+)\\b", "T$1"]
|
args: ["(?i)\\bS0*(\\d+)\\b", "T$1"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["S0?(\\d{1,2})E(\\d{1,2})", "$1x$2"]
|
args: ["(?i)S0?(\\d{1,2})E(\\d{1,2})", "$1x$2"]
|
||||||
inputs:
|
inputs:
|
||||||
sec: listado
|
sec: listado
|
||||||
ord: 9
|
ord: 9
|
||||||
|
|
|
@ -137,7 +137,7 @@ search:
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
date:
|
date:
|
||||||
|
@ -146,7 +146,7 @@ search:
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
size:
|
size:
|
||||||
|
|
|
@ -54,15 +54,17 @@ search:
|
||||||
- name: diacritics
|
- name: diacritics
|
||||||
args: replace
|
args: replace
|
||||||
- name: re_replace # remove SXXEYY from research
|
- name: re_replace # remove SXXEYY from research
|
||||||
args: ["(S\\d{1,2}E\\d{1,2})", ""]
|
args: ["(?i)(S\\d{1,2}E\\d{1,2})", ""]
|
||||||
- name: re_replace # remove SXX from research
|
- name: re_replace # remove SXX from research
|
||||||
args: ["(S\\d{1,2})", ""]
|
args: ["(?i)(S\\d{1,2})", ""]
|
||||||
inputs:
|
inputs:
|
||||||
ajax: false
|
ajax: false
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: 0
|
incldead: 0
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tbody#highlighted tr
|
selector: tbody#highlighted tr
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(2) a:nth-child(1)
|
selector: td:nth-child(2) a:nth-child(1)
|
||||||
|
@ -152,7 +154,7 @@ search:
|
||||||
selector: td:nth-child(2) i
|
selector: td:nth-child(2) i
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +02:00"
|
args: " +02:00" # EET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
category:
|
category:
|
||||||
|
@ -161,7 +163,8 @@ search:
|
||||||
"*": 2040 # default to Movies/HD
|
"*": 2040 # default to Movies/HD
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="pic/freedownload.gif"]: "0"
|
img[src="pic/freedownload.gif"]: 0
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
# engine tbd
|
||||||
|
|
|
@ -106,7 +106,7 @@ search:
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
size:
|
size:
|
||||||
|
|
Loading…
Reference in New Issue