zamundanet: add config info aboit LIST view. resolves #6627

also add config sort options
switch to https
correct catalog selector
clean up titles
This commit is contained in:
Garfield69
2019-12-17 07:29:54 +13:00
parent 39b5a9df76
commit ea340200f0

View File

@@ -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 <b>LIST</b> view.<br><li>Access the web site, bring up the torrent search page and click on the <b>LIST</b> icon setting (located to the top right of the search results table).</li><br>The alternate <i>GRID</i> 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