From 40c466a2a6871acf1540760412469cb079c64623 Mon Sep 17 00:00:00 2001 From: Servarr Date: Sun, 22 Dec 2024 13:14:21 +0200 Subject: [PATCH] jackett indexers as of ce92799c4db54bad8803fd0931d71abe152eb4b8 [2024-12-22T11:14:21Z] --- definitions/v10/huntorrent.yml | 2 +- definitions/v10/torrenthr.yml | 40 ++++++++++++++++++++++++++---- definitions/v10/torrentmasters.yml | 2 +- 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/definitions/v10/huntorrent.yml b/definitions/v10/huntorrent.yml index ebf56726b..4a9313df1 100644 --- a/definitions/v10/huntorrent.yml +++ b/definitions/v10/huntorrent.yml @@ -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 diff --git a/definitions/v10/torrenthr.yml b/definitions/v10/torrenthr.yml index 510e3e988..279517c1d 100644 --- a/definitions/v10/torrenthr.yml +++ b/definitions/v10/torrenthr.yml @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 diff --git a/definitions/v10/torrentmasters.yml b/definitions/v10/torrentmasters.yml index 3f3c777c5..a5a9795ad 100644 --- a/definitions/v10/torrentmasters.yml +++ b/definitions/v10/torrentmasters.yml @@ -66,7 +66,7 @@ settings: default: 0 options: 0: added - 1: name + 1: title 2: size 4: seeders - name: type