mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
kat.li: handle proxy *.nz html. #8099
This commit is contained in:
parent
bea75c8647
commit
fe3ebd6528
1 changed files with 22 additions and 0 deletions
|
@ -28,6 +28,10 @@
|
|||
applications: PC
|
||||
xxx: XXX
|
||||
other: Other
|
||||
# additional from proxy
|
||||
video: TV # ,Movies
|
||||
porn: XXX
|
||||
audio: Audio
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@ -70,17 +74,31 @@
|
|||
- name: tolower
|
||||
- name: trim
|
||||
args: /
|
||||
# proxy uses Video for both TV and Movies
|
||||
category:
|
||||
optional: true
|
||||
selector: span[id^="cat_"] > strong > a:contains("Video")
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Video", "movies"]
|
||||
title:
|
||||
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
||||
details:
|
||||
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
||||
attribute: href
|
||||
download:
|
||||
optional: true
|
||||
# the official site delivers mylink so we skip to the magnet URI
|
||||
selector: td:nth-child(1) > div > a[data-download=""]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: url
|
||||
download:
|
||||
optional: true
|
||||
# the proxy delivers magnet URI
|
||||
selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
size:
|
||||
selector: td:nth-child(2)
|
||||
filters:
|
||||
|
@ -96,6 +114,10 @@
|
|||
- name: replace
|
||||
args: ["N/A", "0"]
|
||||
leechers:
|
||||
# default for proxy which has an empty leechers selector
|
||||
text: 0
|
||||
leechers:
|
||||
optional: true
|
||||
selector: td:nth-child(5)
|
||||
filters:
|
||||
- name: replace
|
||||
|
|
Loading…
Reference in a new issue