Cinematik: improve definition

Thank you @LA5T
This commit is contained in:
kaso17 2018-07-27 15:46:25 +02:00
parent 8840de316d
commit a70997ad7f
1 changed files with 32 additions and 4 deletions

View File

@ -1,13 +1,39 @@
---
# Update by LA5T based on the orignial 'cinematik.yml'
# 27.07.2018 13:00 UTC+2
#
site: cinematik
name: Cinematik
description: "Non-Hollywood movie tracker"
description: "Tracker for non-hollywood movies."
language: en-us
type: private
encoding: UTF-8
links:
- https://www.cinematik.net
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: incldead
type: select
label: Status
default: 1
options:
0: Active
1: "Active and Inactive"
2: Inactive
- name: srchdtls
type: checkbox
label: "Detailed search"
- name: info_results
type: info
label: "Search results"
default: "You can increase the number of search results in your profile.<br />Default is 15."
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Comedy"}
@ -47,8 +73,10 @@
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "{{ .Config.incldead }}"
srchdtls: "{{ if .Config.srchdtls }}1{{ else }}0{{ end }}"
rows:
selector: table[border="1"] tr:not(:first-child)
fields:
@ -69,7 +97,7 @@
selector: td:nth-child(8)
filters:
- name: regexp
args: ([\d,]+)
args: (\d+)
files:
selector: td:nth-child(5)
size: