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:
@@ -106,7 +106,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 }}1{{ else }}0{{ end }}"
|
options: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}"
|
||||||
# 0 all, 1 activeonly, 2 deadonly
|
# 0 all, 1 activeonly, 2 deadonly
|
||||||
|
@@ -43,17 +43,17 @@ caps:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar{{else}}descargas{{end}}"
|
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar{{ else }}descargas{{ end }}"
|
||||||
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar&page=2{{else}}descargas{{end}}"
|
- path: "{{ if .Keywords }}buscar/descargas/{{ .Config.category }}/{{ .Keywords }}?search=Buscar&page=2{{ else }}descargas{{ end }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace # remove first season from search string
|
- name: re_replace # remove first season from search string
|
||||||
args: ["(S1)", ""]
|
args: ["(?i)(S1)", ""]
|
||||||
- name: re_replace # switch second season from search string
|
- name: re_replace # switch second season from search string
|
||||||
args: ["(S2)", "segunda temporada"]
|
args: ["(?i)(S2)", "segunda temporada"]
|
||||||
- name: re_replace # switch third season from search string
|
- name: re_replace # switch third season from search string
|
||||||
args: ["(S3)", "tercera temporada"]
|
args: ["(?i)(S3)", "tercera temporada"]
|
||||||
- name: re_replace # remove E from episode number from search string
|
- name: re_replace # remove E from episode number from search string
|
||||||
args: ["E([0-9]+)", "$1"]
|
args: ["(?i)E([0-9]+)", "$1"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#descargas > tbody > tr:has(td:has(a[href^="magnet:?"]))
|
selector: table#descargas > tbody > tr:has(td:has(a[href^="magnet:?"]))
|
||||||
|
@@ -33,54 +33,57 @@ search:
|
|||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
showsearch: "1"
|
showsearch: 1
|
||||||
incldead: "1"
|
incldead: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.tablak > tbody > tr:has(a[href^="details.php?id="])
|
selector: table.tablak > tbody > tr:has(a[href^="details.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
download:
|
category:
|
||||||
selector: a[href^="download.php?id="]
|
text: 1
|
||||||
attribute: href
|
|
||||||
title:
|
title:
|
||||||
selector: a[href^="details.php?id="][title]
|
selector: a[href^="details.php?id="][title]
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ^(.*?)<br />
|
args: ^(.*?)<br />
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="][title]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
poster:
|
poster:
|
||||||
selector: a[href^="details.php?id="][title]
|
selector: a[href^="details.php?id="][title]
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "src=\"(.*?)\">"
|
args: "src=\"(.*?)\">"
|
||||||
category:
|
|
||||||
text: "1"
|
|
||||||
details:
|
|
||||||
selector: a[href^="details.php?id="][title]
|
|
||||||
attribute: href
|
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(2) > i > font
|
selector: td:nth-child(2) > i > font
|
||||||
size:
|
|
||||||
selector: td:nth-child(7)
|
|
||||||
grabs:
|
|
||||||
selector: td:nth-child(10)
|
|
||||||
seeders:
|
|
||||||
selector: td:nth-child(8)
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-child(9)
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +01:00"
|
args: " +01:00" # CET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(9)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(10)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
font[title^="Dupla feltöltésű torrent!"]: "2"
|
font[title^="Dupla feltöltésű torrent!"]: 2
|
||||||
font[title^="x3 feltöltésű torrent!"]: "3"
|
font[title^="x3 feltöltésű torrent!"]: 3
|
||||||
font[title^="x4 feltöltésű torrent!"]: "4"
|
font[title^="x4 feltöltésű torrent!"]: 4
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
# engine tbd
|
||||||
|
@@ -73,10 +73,12 @@ search:
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
# $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
# $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
|
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
description:
|
description:
|
||||||
optional: true
|
optional: true
|
||||||
@@ -84,6 +86,9 @@ search:
|
|||||||
title:
|
title:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
remove: font
|
remove: font
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href^="browse.php?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -95,20 +100,11 @@ search:
|
|||||||
case:
|
case:
|
||||||
a[href="/browse.php?ext=1&bitrate=Lossless"]: 3040
|
a[href="/browse.php?ext=1&bitrate=Lossless"]: 3040
|
||||||
a[href="/browse.php?ext=1&format=MP3"]: 3010
|
a[href="/browse.php?ext=1&format=MP3"]: 3010
|
||||||
details:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
attribute: href
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php"]
|
selector: a[href^="download.php"]
|
||||||
attribute: href
|
attribute: href
|
||||||
files:
|
files:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
size:
|
|
||||||
selector: td:nth-child(8)
|
|
||||||
seeders:
|
|
||||||
selector: td:nth-child(10)
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-child(11)
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
filters:
|
filters:
|
||||||
@@ -116,11 +112,18 @@ search:
|
|||||||
args: " +00:00" # GMT
|
args: " +00:00" # GMT
|
||||||
- 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(8)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(9)
|
selector: td:nth-child(9)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(10)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(11)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[alt="Free Leech"]: 0
|
img[alt="Free Leech"]: 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
# engine tbd
|
||||||
|
@@ -86,8 +86,10 @@ search:
|
|||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\w+)", " +$1"] # prepend + to each word
|
args: ["(\\w+)", " +$1"] # prepend + to each word
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: ul.TorrentList
|
selector: ul.TorrentList
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: .TorrentList1 > a
|
selector: .TorrentList1 > a
|
||||||
@@ -121,7 +123,7 @@ search:
|
|||||||
args: "02 Jan 06, 15:04 -07:00"
|
args: "02 Jan 06, 15:04 -07:00"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
".TorrentList2 > a:contains(\"[FFL]\")": "0"
|
".TorrentList2 > a:contains(\"[FFL]\")": 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
@@ -122,7 +122,7 @@ search:
|
|||||||
selector: td:has(a[href$="filelist=1"]) ~ td ~ td > nobr
|
selector: td:has(a[href$="filelist=1"]) ~ td ~ td > nobr
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +02: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:
|
size:
|
||||||
|
@@ -102,7 +102,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:
|
||||||
|
@@ -128,7 +128,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:
|
||||||
@@ -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-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
size:
|
size:
|
||||||
|
Reference in New Issue
Block a user