mirror of https://github.com/Jackett/Jackett
kat.li: handle proxy *.nz html. #8099
This commit is contained in:
parent
bea75c8647
commit
fe3ebd6528
|
@ -28,6 +28,10 @@
|
||||||
applications: PC
|
applications: PC
|
||||||
xxx: XXX
|
xxx: XXX
|
||||||
other: Other
|
other: Other
|
||||||
|
# additional from proxy
|
||||||
|
video: TV # ,Movies
|
||||||
|
porn: XXX
|
||||||
|
audio: Audio
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -70,17 +74,31 @@
|
||||||
- name: tolower
|
- name: tolower
|
||||||
- name: trim
|
- name: trim
|
||||||
args: /
|
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:
|
title:
|
||||||
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
||||||
details:
|
details:
|
||||||
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
selector: td:nth-child(1) > div > div > a[class="cellMainLink"]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
|
optional: true
|
||||||
|
# the official site delivers mylink so we skip to the magnet URI
|
||||||
selector: td:nth-child(1) > div > a[data-download=""]
|
selector: td:nth-child(1) > div > a[data-download=""]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: url
|
args: url
|
||||||
|
download:
|
||||||
|
optional: true
|
||||||
|
# the proxy delivers magnet URI
|
||||||
|
selector: a[href^="magnet:?xt="]
|
||||||
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
filters:
|
filters:
|
||||||
|
@ -96,6 +114,10 @@
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["N/A", "0"]
|
args: ["N/A", "0"]
|
||||||
leechers:
|
leechers:
|
||||||
|
# default for proxy which has an empty leechers selector
|
||||||
|
text: 0
|
||||||
|
leechers:
|
||||||
|
optional: true
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
Loading…
Reference in New Issue