mirror of https://github.com/Jackett/Jackett
finelite: update layout, update cats, fix imdbid search. resolves #15040
This commit is contained in:
parent
5d451b1e63
commit
b012bdff9d
|
@ -44,8 +44,7 @@ caps:
|
||||||
- {id: 24, cat: Books/EBook, desc: "Ebooks"}
|
- {id: 24, cat: Books/EBook, desc: "Ebooks"}
|
||||||
- {id: 10, cat: Console, desc: "Games - Console"}
|
- {id: 10, cat: Console, desc: "Games - Console"}
|
||||||
- {id: 11, cat: PC/Games, desc: "Games - PC"}
|
- {id: 11, cat: PC/Games, desc: "Games - PC"}
|
||||||
- {id: 26, cat: Movies, desc: "Kids"}
|
- {id: 26, cat: Movies/Other, desc: "Kids"}
|
||||||
- {id: 9, cat: PC/Mobile-Other, desc: "Mobile"}
|
|
||||||
- {id: 12, cat: Movies, desc: "Movie Pack"}
|
- {id: 12, cat: Movies, desc: "Movie Pack"}
|
||||||
- {id: 31, cat: Movies/UHD, desc: "Movies 4K"}
|
- {id: 31, cat: Movies/UHD, desc: "Movies 4K"}
|
||||||
- {id: 38, cat: Movies/BluRay, desc: "Movies BD"}
|
- {id: 38, cat: Movies/BluRay, desc: "Movies BD"}
|
||||||
|
@ -75,18 +74,18 @@ login:
|
||||||
cookie: "{{ .Config.cookie }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
test:
|
test:
|
||||||
path: /
|
path: /
|
||||||
selector: a[href="ulos.php"]
|
selector: a[href="/logout.php"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://finelite.org/selaa.php?c14=1&c15=1&c31=1&search=tt6591554&hae=2&type=desc&cat=0&incldead=1&sort=1
|
# https://finelite.org/browse.php?c14=1&c15=1&c31=1&search=tt6591554&hae=2&type=desc&cat=0&incldead=1&sort=1
|
||||||
# https://finelite.org/selaa.php?search=&hae=0&type=desc&cat=0&incldead=1&freeleech=yes&sort=1
|
# https://finelite.org/browse.php?search=&hae=0&type=desc&cat=0&incldead=1&freeleech=yes&sort=1
|
||||||
- path: selaa.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 name&descr, 1 name, 2 descr, 3 tags, 4 imdb with rating
|
# 0 name&descr, 1 name, 2 descr, 3 tags, 4 imdb with rating
|
||||||
hae: "{{ if .Query.IMDBID }}2{{ else }}1{{ end }}"
|
hae: "{{ if .Query.IMDBID }}4{{ else }}1{{ end }}"
|
||||||
# 0 active, 1 incldead, 2 deadonly
|
# 0 active, 1 incldead, 2 deadonly
|
||||||
incldead: 1
|
incldead: 1
|
||||||
freeleech: "{{ if .Config.freeleech }}yes{{ else }}{{ end }}"
|
freeleech: "{{ if .Config.freeleech }}yes{{ else }}{{ end }}"
|
||||||
|
@ -94,23 +93,26 @@ search:
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.main > tbody > tr:has(a[href^="/lataa.php/"])
|
selector: table.main > tbody > tr:has(a[href^="/lataa/"])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="selaa.php?c"]
|
selector: a[href^="/browse.php?c"]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: c(\d+)=1
|
args: c(\d+)=1
|
||||||
title:
|
title:
|
||||||
selector: a[href^="julkaisu.php?id="]
|
selector: a[href^="/details/"]
|
||||||
details:
|
details:
|
||||||
selector: a[href^="julkaisu.php?id="]
|
selector: a[href^="/details/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="/lataa.php/"]
|
selector: a[href^="/lataa/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
poster:
|
||||||
|
selector: a[href^="/details/"] img
|
||||||
|
attribute: src
|
||||||
imdbid:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -123,7 +125,7 @@ search:
|
||||||
- name: append
|
- name: append
|
||||||
args: " +02:00" # EET
|
args: " +02:00" # EET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "d.M.yyyy HH:mm zzz"
|
args: "d.M.yyyy HH:mm zzz"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(3)
|
selector: td:nth-last-child(3)
|
||||||
seeders:
|
seeders:
|
||||||
|
@ -132,7 +134,7 @@ search:
|
||||||
selector: td:nth-last-child(1)
|
selector: td:nth-last-child(1)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
span.label-free: 0
|
span[title="Freeleech"]: 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
|
Loading…
Reference in New Issue