mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cinematik: fix login. resolves #11470
This commit is contained in:
@@ -1,39 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Update by LA5T based on the orignial 'cinematik.yml'
|
|
||||||
# 29.07.2018 22:53 UTC+2
|
|
||||||
#
|
|
||||||
id: cinematik
|
id: cinematik
|
||||||
name: Cinematik
|
name: Cinematik
|
||||||
description: "Tracker for non-hollywood movies."
|
description: "A tracker for full BD and DVD discs of non-mainstream movies, niche cinema and arthouse."
|
||||||
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"}
|
||||||
@@ -59,9 +33,34 @@ caps:
|
|||||||
search: [q]
|
search: [q]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
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."
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
method: form
|
||||||
method: post
|
path: login.php
|
||||||
|
submitpath: takelogin.php
|
||||||
|
form: form[action="takelogin.php"]
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
@@ -75,34 +74,36 @@ search:
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: "{{ .Config.incldead }}"
|
incldead: "{{ .Config.incldead }}"
|
||||||
srchdtls: "{{ if .Config.srchdtls }}1{{ else }}0{{ end }}"
|
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:
|
||||||
category:
|
category:
|
||||||
text: 1
|
text: 1
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(2) a
|
selector: td:nth-child(2) a
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["details.php?id=", "download.php?id="]
|
args: ["details.php?id=", "download.php?id="]
|
||||||
details:
|
files:
|
||||||
selector: a[href^="details.php?id="]
|
selector: td:nth-child(5)
|
||||||
attribute: href
|
size:
|
||||||
|
selector: td:nth-child(7)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(8)
|
selector: td:nth-child(8)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ([\d,]+)
|
args: ([\d,]+)
|
||||||
files:
|
|
||||||
selector: td:nth-child(5)
|
|
||||||
size:
|
|
||||||
selector: td:nth-child(7)
|
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(9)
|
selector: td:nth-child(9)
|
||||||
leechers:
|
leechers:
|
||||||
@@ -111,11 +112,12 @@ search:
|
|||||||
selector: td:nth-child(11) div.addedtor
|
selector: td:nth-child(11) div.addedtor
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[title=\"Golden Torrent: No Download Stats are Recorded\"]": 0
|
img[title^="Golden Torrent"]: 0
|
||||||
"img[title=\"Silver Torrent: Download Stats are 25% Recorded\"]": 0.25
|
img[title^="Silver Torrent"]: 0.25
|
||||||
"img[title=\"Platinum Torrent: No Download Stats are Recorded, Upload Stats are Doubled!\"]": 0
|
img[title^="Platinum Torrent"]: 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[title=\"Platinum Torrent: No Download Stats are Recorded, Upload Stats are Doubled!\"]": 2
|
img[title^="Platinum Torrent"]: 2
|
||||||
"*": 1
|
"*": 1
|
||||||
|
# Engine n/a
|
||||||
|
Reference in New Issue
Block a user