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 site: cinematik
name: Cinematik name: Cinematik
description: "Non-Hollywood movie tracker" description: "Tracker for non-hollywood movies."
language: en-us language: en-us
type: private type: private
encoding: UTF-8 encoding: UTF-8
links: links:
- https://www.cinematik.net - 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: caps:
categorymappings: categorymappings:
- {id: 1, cat: Movies, desc: "Comedy"} - {id: 1, cat: Movies, desc: "Comedy"}
@ -47,8 +73,10 @@
paths: paths:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}" $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{ .Query.Keywords }}"
incldead: "{{ .Config.incldead }}"
srchdtls: "{{ if .Config.srchdtls }}1{{ else }}0{{ end }}"
rows: rows:
selector: table[border="1"] tr:not(:first-child) selector: table[border="1"] tr:not(:first-child)
fields: fields:
@ -69,7 +97,7 @@
selector: td:nth-child(8) selector: td:nth-child(8)
filters: filters:
- name: regexp - name: regexp
args: ([\d,]+) args: (\d+)
files: files:
selector: td:nth-child(5) selector: td:nth-child(5)
size: size: