Skip to content

Commit

Permalink
jackett indexers as of ce92799c4db54bad8803fd0931d71abe152eb4b8 [2024…
Browse files Browse the repository at this point in the history
…-12-22T11:14:21Z]
  • Loading branch information
ServarrAdmin committed Dec 22, 2024
1 parent 820ee87 commit 40c466a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
2 changes: 1 addition & 1 deletion definitions/v10/huntorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ settings:
label: Sort requested from site
default: 4
options:
1: name
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
Expand Down
40 changes: 35 additions & 5 deletions definitions/v10/torrenthr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,30 @@ caps:
music-search: [q]
book-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:
path: takelogin.php
method: post
Expand All @@ -53,7 +77,7 @@ login:
error:
- selector: div.glavni:has(div.glavni_naslov:contains("Greška"))
test:
path: browse.php
path: index.php
selector: a[href*="logout.php"]

search:
Expand All @@ -64,16 +88,17 @@ search:
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 name, 1 descr, 2 both
blah: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
# 0 active, 1 incldead, 2 onlydead
incldead: 1
sort: 4
type: desc
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"

rows:
selector: div.glavni_txt table > tbody > tr[id^="record-"]

fields:
category:
selector: td.kategorije > a[href^="browse.php?cat="]
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
Expand Down Expand Up @@ -104,7 +129,7 @@ search:
size:
selector: td:nth-child(7)
grabs:
selector: td:nth-child(7)
selector: td:nth-child(8)
seeders:
selector: td:nth-child(9)
leechers:
Expand All @@ -130,4 +155,9 @@ search:
description:
selector: td:nth-child(2)
remove: a, br, small
minimumratio:
text: 1.0
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# engine tbd
2 changes: 1 addition & 1 deletion definitions/v10/torrentmasters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ settings:
default: 0
options:
0: added
1: name
1: title
2: size
4: seeders
- name: type
Expand Down

0 comments on commit 40c466a

Please sign in to comment.