mirror of
https://github.com/Jackett/Jackett
synced 2025-03-06 11:48:49 +00:00
krazyzone: new layout and search engine
This commit is contained in:
parent
285c108d87
commit
b7ef6fc29a
1 changed files with 15 additions and 10 deletions
|
@ -110,8 +110,14 @@ login:
|
||||||
path: index.php
|
path: index.php
|
||||||
selector: a[href="account-logout.php"]
|
selector: a[href="account-logout.php"]
|
||||||
|
|
||||||
|
download:
|
||||||
|
selectors:
|
||||||
|
- selector: td a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
# https://krazyzone.net/torrents-search.php?incldead=1&freeleech=0&inclrosub=0&sort=id&order=desc
|
||||||
- path: torrents-search.php
|
- path: torrents-search.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
|
@ -125,12 +131,11 @@ search:
|
||||||
# 0 both, 1 local, 2 external
|
# 0 both, 1 local, 2 external
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
keywordsfilters:
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(\\w+)", "+$1"] # prepend + to each word
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.ttable_headinner > tbody > tr:has(a[href^="download.php?id="])
|
selector: table.ttable_headinner > tbody > tr
|
||||||
|
filters:
|
||||||
|
- name: andmatch
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
@ -149,7 +154,7 @@ search:
|
||||||
selector: a[href^="torrents-details.php?id="]
|
selector: a[href^="torrents-details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: td a[href^="download.php?id="]
|
selector: a[href^="torrents-details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
poster:
|
poster:
|
||||||
selector: a[href^="torrents-details.php?id="]
|
selector: a[href^="torrents-details.php?id="]
|
||||||
|
@ -178,20 +183,20 @@ search:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(4)
|
selector: td:nth-child(3)
|
||||||
date:
|
date:
|
||||||
# 24.Jul<br>2022<br>07:47
|
# 24.Jul<br>2022<br>07:47
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(4)
|
||||||
# auto adjusted by site account profile
|
# auto adjusted by site account profile
|
||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "d.MMMyyyyHH:mm"
|
args: "d.MMMyyyyHH:mm"
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(6)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(8)
|
selector: td:nth-child(7)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(9)
|
selector: td:nth-child(8)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="images/free.png"]: 0
|
img[src="images/free.png"]: 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue