diff --git a/src/Jackett.Common/Definitions/zamundanet.yml b/src/Jackett.Common/Definitions/zamundanet.yml
index e25386b8c..7b2a8b713 100644
--- a/src/Jackett.Common/Definitions/zamundanet.yml
+++ b/src/Jackett.Common/Definitions/zamundanet.yml
@@ -6,6 +6,9 @@
type: private
encoding: windows-1251
links:
+ - https://zamunda.net/
+ - https://zamunda.ch/
+ legacylinks:
- http://zamunda.net/
- http://zamunda.ch/
@@ -58,6 +61,34 @@
tv-search: [q, season, ep]
movie-search: [q]
+ settings:
+ - name: username
+ type: text
+ label: Username
+ - name: password
+ type: password
+ label: Password
+ - name: info_results
+ type: info
+ label: "Search results"
+ default: "This Indexer supports search results only from the LIST view.
Access the web site, bring up the torrent search page and click on the LIST icon setting (located to the top right of the search results table).
The alternate GRID view is not supported."
+ - name: sort
+ type: select
+ label: Sort requested from site
+ default: "6"
+ options:
+ "6": "created"
+ "9": "seeders"
+ "7": "size"
+ "2": "title"
+ - name: type
+ type: select
+ label: Order requested from site
+ default: "desc"
+ options:
+ "desc": "desc"
+ "asc": "asc"
+
login:
path: takelogin.php
method: post
@@ -73,23 +104,28 @@
paths:
- path: bananas
inputs:
- $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
- search: "{{ .Query.Keywords }}"
+ $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
+ search: "{{ .Keywords }}"
incldead: 1
+ sort: "{{ .Config.sort }}"
+ type: "{{ .Config.type }}"
+
rows:
selector: .responsetop > tbody > tr:has(td.td_newborder)
+
fields:
title:
selector: a:has(i.fa-download)
attribute: href
filters:
+ - name: urldecode
- name: re_replace
args: ["^(.*?)download\\.php\\/[0-9]{1,10}\\/|\\.torrent(?=[^.]*$)", ""]
details:
selector: td:nth-child(2) > a:nth-child(1)
attribute: href
category:
- selector: td:nth-child(1) > a
+ selector: a[href^="list?cat="]
attribute: href
filters:
- name: querystring
@@ -120,6 +156,6 @@
- name: regexp
args: src=\\'([^\s\\]+)
downloadvolumefactor:
- text: "0"
+ text: 0
uploadvolumefactor:
- text: "1"
+ text: 1