mirror of https://github.com/Jackett/Jackett
assorted yml: code tidy
This commit is contained in:
parent
861ffcc3c0
commit
9ba44f86c9
|
@ -114,15 +114,6 @@ login:
|
|||
test:
|
||||
path: selection.php
|
||||
|
||||
# download:
|
||||
# before:
|
||||
# path: ajax_det_poll.php
|
||||
# method: "post"
|
||||
# inputs:
|
||||
# set_thanks: "thanks"
|
||||
# det_id: "{{ .DownloadUri.Query.torrent }}"
|
||||
# ajax: "yes"
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: selection.php
|
||||
|
|
|
@ -122,7 +122,7 @@ search:
|
|||
selector: a[href^="download2.php"]
|
||||
attribute: href
|
||||
download:
|
||||
text: "{{if .Config.seedbox}}{{ .Result.download2 }}{{else}}{{ .Result.download1 }}{{end}}"
|
||||
text: "{{ if .Config.seedbox }}{{ .Result.download2 }}{{ else }}{{ .Result.download1 }}{{ end }}"
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
|
|
|
@ -92,7 +92,7 @@ search:
|
|||
path: index.php
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["S(\\d{1,2})E(\\d{1,2})", "S$1/E$2"]
|
||||
args: ["(?i)S(\\d{1,2})E(\\d{1,2})", "S$1/E$2"]
|
||||
inputs:
|
||||
page: torrents
|
||||
$raw: "&category={{ range .Categories }}{{.}};{{end}}"
|
||||
|
@ -117,7 +117,7 @@ search:
|
|||
- name: re_replace
|
||||
args: ["\\/", " "]
|
||||
- name: re_replace
|
||||
args: ["S(\\d{1,2}) E(\\d{1,2})", "S$1E$2"]
|
||||
args: ["(?i)S(\\d{1,2}) E(\\d{1,2})", "S$1E$2"]
|
||||
- name: re_replace
|
||||
args: ["\\(", ""]
|
||||
- name: re_replace
|
||||
|
|
|
@ -106,7 +106,7 @@ login:
|
|||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
returnto: "/"
|
||||
returnto: /
|
||||
error:
|
||||
- selector: table.main:contains("Login failed!")
|
||||
message:
|
||||
|
@ -147,7 +147,7 @@ search:
|
|||
selector: a[href^="download2.php"]
|
||||
attribute: href
|
||||
download:
|
||||
text: "{{if .Config.seedbox}}{{ .Result.download2 }}{{else}}{{ .Result.download1 }}{{end}}"
|
||||
text: "{{ if .Config.seedbox }}{{ .Result.download2 }}{{ else }}{{ .Result.download1 }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in New Issue