mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted yml: code tidy
This commit is contained in:
@@ -91,7 +91,7 @@ search:
|
|||||||
inputs:
|
inputs:
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
cat: 0
|
cat: 0
|
||||||
# 0 active 1 incldead 2 onlydead 3 gold 4 noseed 5 silver 7 BFG
|
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseed, 5 silver, 7 BFG
|
||||||
incldead: 1
|
incldead: 1
|
||||||
ajax: 1
|
ajax: 1
|
||||||
year: 0
|
year: 0
|
||||||
|
@@ -76,32 +76,32 @@ search:
|
|||||||
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{ if .Config.donor }}{{ else }}:not(:has(img[src*="keditbookmarks.png"])){{ end }}
|
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{ if .Config.donor }}{{ else }}:not(:has(img[src*="keditbookmarks.png"])){{ end }}
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
download:
|
|
||||||
selector: a[href^="index.php?page=torrent-details&id="]
|
|
||||||
attribute: href
|
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["index.php?page=torrent-details&id=", "download.php?id="]
|
|
||||||
title:
|
|
||||||
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
|
||||||
filters:
|
|
||||||
- name: re_replace # rimozioni varie
|
|
||||||
args: ["(?i)(\\[Richiesta\\])", ""]
|
|
||||||
poster:
|
|
||||||
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
|
||||||
attribute: onmouseover
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: "src=(.*?) "
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="index.php?page=torrents&category="]
|
selector: a[href^="index.php?page=torrents&category="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: category
|
args: category
|
||||||
|
title:
|
||||||
|
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
||||||
|
filters:
|
||||||
|
- name: re_replace # rimozioni varie
|
||||||
|
args: ["(?i)(\\[Richiesta\\])", ""]
|
||||||
details:
|
details:
|
||||||
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="index.php?page=torrent-details&id="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["index.php?page=torrent-details&id=", "download.php?id="]
|
||||||
|
poster:
|
||||||
|
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
|
||||||
|
attribute: onmouseover
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "src=(.*?) "
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(2)
|
selector: td:nth-last-child(2)
|
||||||
date:
|
date:
|
||||||
|
@@ -152,7 +152,7 @@ search:
|
|||||||
# note: although tmdbid appears as option 12, searching for this yields no results.
|
# note: although tmdbid appears as option 12, searching for this yields no results.
|
||||||
durchsuche: "{{ if .Query.IMDBID }}11{{ else }}1{{ end }}"
|
durchsuche: "{{ if .Query.IMDBID }}11{{ else }}1{{ end }}"
|
||||||
# incldead: 1 active, 2 all, 3 onlydead, 4 highlight, 5 bookmark, 6 onlyups, 7 freeleech, 8 multi2, 9 multi5, 10 multi10, 11 25%d,l 12 50%dl, 13 75%dl
|
# incldead: 1 active, 2 all, 3 onlydead, 4 highlight, 5 bookmark, 6 onlyups, 7 freeleech, 8 multi2, 9 multi5, 10 multi10, 11 25%d,l 12 50%dl, 13 75%dl
|
||||||
# note: searching with freeleech yielded no results, using onlyups works.
|
# note: searching with 6(freeleech) yielded no results, using 7(onlyups) works.
|
||||||
suchein: "{{ if .Config.freeleech }}6{{ else }}2{{ end }}"
|
suchein: "{{ if .Config.freeleech }}6{{ else }}2{{ end }}"
|
||||||
# cat: 1 all, 1000 film, 2000 tv, 3000 docs, 4000 sport, 5000 xxx, 6000 games, 7000 apps, 8000 music, 9000 other
|
# cat: 1 all, 1000 film, 2000 tv, 3000 docs, 4000 sport, 5000 xxx, 6000 games, 7000 apps, 8000 music, 9000 other
|
||||||
sucheaus: 1
|
sucheaus: 1
|
||||||
|
@@ -85,7 +85,7 @@ search:
|
|||||||
inputs:
|
inputs:
|
||||||
page: torrents
|
page: torrents
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
|
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
|
||||||
# 0=title, 1=title&descr, 2=descr
|
# 0=title, 1=title&descr, 2=descr
|
||||||
options: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
|
options: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
|
||||||
# 0 all, 1 activeonly, 2 deadonly
|
# 0 all, 1 activeonly, 2 deadonly
|
||||||
@@ -97,17 +97,17 @@ search:
|
|||||||
selector: "table.lista tr td table.lista tr:has(a[href^=\"index.php?page=torrent-details\"]){{ if .Config.freeleech }}:has(img[src=\"gold/gold.gif\"]){{ else }}{{ end }}"
|
selector: "table.lista tr td table.lista tr:has(a[href^=\"index.php?page=torrent-details\"]){{ if .Config.freeleech }}:has(img[src=\"gold/gold.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
|
||||||
details:
|
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
|
||||||
attribute: href
|
|
||||||
category:
|
category:
|
||||||
selector: td a[href^="index.php?page=torrents&category="]
|
selector: td a[href^="index.php?page=torrents&category="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: category
|
args: category
|
||||||
|
title:
|
||||||
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
|
details:
|
||||||
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: td a[href^="download.php"]
|
selector: td a[href^="download.php"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@@ -272,7 +272,7 @@ search:
|
|||||||
- path: search.php
|
- path: search.php
|
||||||
inputs:
|
inputs:
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
terms: all
|
terms: all
|
||||||
author: ""
|
author: ""
|
||||||
sc: 1
|
sc: 1
|
||||||
|
@@ -83,10 +83,10 @@ search:
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# 0 active 1 incldead 2 deadonly
|
# 0 active 1 incldead 2 deadonly
|
||||||
incldead: 1
|
incldead: 1
|
||||||
fullsearch: "{{ if .Query.IMDBID }}1{{else}}{{end}}"
|
fullsearch: "{{ if .Query.IMDBID }}1{{ else }}{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
d: "{{ .Config.sort }}"
|
d: "{{ .Config.sort }}"
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ search:
|
|||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
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"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
|
@@ -140,7 +140,7 @@ search:
|
|||||||
options: 0
|
options: 0
|
||||||
# 0=all, 1=onlyactive, 2=onlydead
|
# 0=all, 1=onlyactive, 2=onlydead
|
||||||
active: 0
|
active: 0
|
||||||
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
|
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
|
Reference in New Issue
Block a user