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:
|
|||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +00:00"
|
args: " +00:00" # auto adjusted by site account profile
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "Jan 02 2006, 15:04 -07:00"
|
args: "Jan 02 2006, 15:04 -07:00"
|
||||||
size:
|
size:
|
||||||
|
@@ -144,7 +144,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:
|
||||||
@@ -153,7 +153,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:
|
||||||
|
@@ -455,7 +455,7 @@ search:
|
|||||||
# http://korsar.info/search.php?keywords=deux+moi&sr=topics&sf=titleonly&tracker_search=torrent
|
# http://korsar.info/search.php?keywords=deux+moi&sr=topics&sf=titleonly&tracker_search=torrent
|
||||||
- path: search.php
|
- path: search.php
|
||||||
inputs:
|
inputs:
|
||||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
sr: topics
|
sr: topics
|
||||||
sf: titleonly
|
sf: titleonly
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
|
@@ -91,14 +91,14 @@ search:
|
|||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
# does not support multi categories so defaulting to ALL
|
|
||||||
do: search
|
do: search
|
||||||
|
# does not support multi categories so defaulting to ALL
|
||||||
category: 0
|
category: 0
|
||||||
# yes incldead, no activeonly
|
# yes incldead, no activeonly
|
||||||
include_dead_torrents: yes
|
include_dead_torrents: yes
|
||||||
keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# t_name, t_description, t_both, t_uploader, t_genre
|
# t_name, t_description, t_both, t_uploader, t_genre
|
||||||
search_type: "{{ if .Query.IMDBID }}t_genre{{else}}t_name{{end}}"
|
search_type: "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
# does not return imdb link in results
|
# does not return imdb link in results
|
||||||
|
@@ -175,8 +175,7 @@ search:
|
|||||||
img[src$="/torrent_free.png"]: 0
|
img[src$="/torrent_free.png"]: 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
text: 1
|
||||||
"*": 1
|
|
||||||
minimumratio:
|
minimumratio:
|
||||||
text: 1.0
|
text: 1.0
|
||||||
# TSUE 2.2
|
# TSUE 2.2
|
||||||
|
@@ -65,51 +65,53 @@ search:
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: "1"
|
incldead: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table> tbody > tr:has(a[href^="details?"])
|
selector: table> tbody > tr:has(a[href^="details?"])
|
||||||
filters:
|
filters:
|
||||||
- name: andmatch
|
- name: andmatch
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
download:
|
|
||||||
selector: a[href^="download.php?id="]
|
|
||||||
attribute: href
|
|
||||||
title:
|
|
||||||
selector: a[href^="details?"]
|
|
||||||
description:
|
|
||||||
optional: true
|
|
||||||
selector: td:nth-child(2) > span
|
|
||||||
details:
|
|
||||||
selector: a[href^="details?"]
|
|
||||||
attribute: href
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href^="browse.php?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
seeders:
|
title:
|
||||||
selector: td:nth-child(8)
|
selector: a[href^="details?"]
|
||||||
leechers:
|
details:
|
||||||
selector: td:nth-child(9)
|
selector: a[href^="details?"]
|
||||||
grabs:
|
attribute: href
|
||||||
selector: td:nth-child(7)
|
download:
|
||||||
|
selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
description:
|
||||||
|
optional: true
|
||||||
|
selector: td:nth-child(2) > span
|
||||||
files:
|
files:
|
||||||
selector: td:nth-child(3)
|
selector: td:nth-child(3)
|
||||||
size:
|
|
||||||
selector: td:nth-child(6)
|
|
||||||
downloadvolumefactor:
|
|
||||||
case:
|
|
||||||
img[src="//static.linkomanija.net/images/flag_green.gif"]: "0"
|
|
||||||
"*": "1"
|
|
||||||
uploadvolumefactor:
|
|
||||||
case:
|
|
||||||
"*": "1"
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +01:00"
|
args: " +02:00" # EET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(9)
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
img[src="//static.linkomanija.net/images/flag_green.gif"]: 0
|
||||||
|
"*": 1
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine tbd
|
||||||
|
@@ -322,7 +322,7 @@ search:
|
|||||||
inputs:
|
inputs:
|
||||||
pages: 2
|
pages: 2
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "category={{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}&"
|
$raw: "category={{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}&"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
page: torrents
|
page: torrents
|
||||||
active: 1
|
active: 1
|
||||||
|
Reference in New Issue
Block a user