mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
parent
9970386baa
commit
a6f197f63f
1 changed files with 62 additions and 18 deletions
|
@ -26,6 +26,30 @@ caps:
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "4"
|
||||||
|
options:
|
||||||
|
"4": "created"
|
||||||
|
"7": "seeders"
|
||||||
|
"5": "size"
|
||||||
|
"1": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
|
@ -62,53 +86,73 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# 0=including dead 1=active 2=dead
|
# 0 incldead, 1 active, 2 onlydead
|
||||||
incldead: 0
|
incldead: 0
|
||||||
# show promotions: 0=all 1=normal 2=free 3=2x 4=2xFree 5=50% 6=2x50% 7=30%
|
# 0 all, 1 normal, 2 free, 3 2x, 4 2xFree, 5 50%, 6 2x50%, 7 30%
|
||||||
spstate: 0
|
spstate: 0
|
||||||
# 0=title 1=descr 3=uploader 4=imdb URL
|
# 0 all, 1 popular, 2 classic, 3 recomended, 4 2+3
|
||||||
|
pick: 0
|
||||||
|
# 0 title. 1 descr, 3 uploader, 4 imdb URL
|
||||||
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
||||||
# 0=AND 1=OR 2=Exact
|
# 0 AND, 1 OR, 2 Exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
# supports imdbid searching and displays imdb link in results.
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
title:
|
|
||||||
optional: true
|
|
||||||
selector: a[title][href^="details.php?id="]
|
|
||||||
attribute: title
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="?cat="]
|
selector: a[href^="?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
title:
|
||||||
|
optional: true
|
||||||
|
selector: a[title][href^="details.php?id="]
|
||||||
|
attribute: title
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
imdb:
|
||||||
|
optional: true
|
||||||
|
selector: a[href*="www.imdb.com/title/tt"]
|
||||||
|
attribute: href
|
||||||
date:
|
date:
|
||||||
selector: td.rowfollow:nth-child(4) > span[title]
|
# time type: time elapsed (default)
|
||||||
|
selector: td.rowfollow:nth-last-child(6) > span[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +08:00"
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
|
date:
|
||||||
|
# time added
|
||||||
|
selector: td.rowfollow:nth-last-child(6):not(:has(span))
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +08:00"
|
args: " +08:00"
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
size:
|
size:
|
||||||
selector: td.rowfollow:nth-child(5)
|
selector: td.rowfollow:nth-last-child(5)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td.rowfollow:nth-child(6)
|
selector: td.rowfollow:nth-last-child(4)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td.rowfollow:nth-child(7)
|
selector: td.rowfollow:nth-last-child(3)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td.rowfollow:nth-child(8)
|
selector: td.rowfollow:nth-last-child(2)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_free: 0
|
img.pro_free: 0
|
||||||
|
@ -124,6 +168,6 @@ search:
|
||||||
img.pro_2up: 2
|
img.pro_2up: 2
|
||||||
"*": 1
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: td.rowfollow:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
remove: a, img
|
remove: a, img
|
||||||
# NexusPHP Standard v1.5 Beta 4
|
# NexusPHP Standard v1.5 Beta 4 (customised)
|
||||||
|
|
Loading…
Reference in a new issue