Jackett/src/Jackett.Common/Definitions/concertos.yml

131 lines
2.9 KiB
YAML
Raw Normal View History

---
site: concertos
name: Concertos
description: "Concertos - Private site for Live Concerts with Strict Quality Control"
language: en-us
type: private
encoding: UTF-8
links:
- https://concertos.live/
caps:
categorymappings:
- {id: 1, cat: TV, desc: "Live Concert"}
- {id: 2, cat: Audio/Video, desc: "Music Video"}
- {id: 4, cat: TV, desc: "Music Documentary"}
- {id: 5, cat: Audio/Lossless, desc: "Pure Audio"}
- {id: 7, cat: TV, desc: "Opera"}
- {id: 8, cat: TV, desc: "Musical"}
- {id: 9, cat: Audio, desc: "Podcast"}
modes:
search: [q, imdbid]
tv-search: [q, imdbid]
movie-search: [q, imdbid]
music-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: "created_at"
options:
"created_at": "created"
"seeders": "seeders"
"size": "size"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
2019-12-14 08:07:03 +00:00
login:
path: login
method: form
form: form[action$="/login"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: on
selectorinputs:
_token:
selector: input[name="_token"]
attribute: value
error:
- selector: form[action$="/login"] .text-red
# test:
# path: /
# selector: a[href$="/logout"]
ratio:
path: /
selector: span:has(i.fa-percent)
filters:
- name: regexp
args: "Ratio : (\\d+)"
search:
paths:
- path: torrents
inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
title: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
imdb: "{{ .Query.IMDBIDShort }}"
order_by: "{{ .Config.sort }}"
direction: "{{ .Config.type }}"
2019-12-14 08:07:03 +00:00
rows:
selector: table > tbody > tr
2019-12-14 08:07:03 +00:00
fields:
category:
selector: a[href*="?category_"]
attribute: href
filters:
- name: regexp
args: "category_(\\d+)"
title:
selector: a[href*="/torrent/"]
details:
selector: a[href*="/torrent/"]
attribute: href
download:
selector: a[href*="/torrent/"]
attribute: href
filters:
- name: append
args: "/download"
size:
selector: td.torrents__size
date:
selector: td.torrents__age
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
grabs:
selector: td:nth-last-child(1)
imdb:
optional: true
selector: a[href*="www.imdb.com/title/tt"]
attribute: href
downloadvolumefactor:
case:
i.fa-star: 0 # Freeleech
i.fa-certificate: 0 # Featured
"*": 1
uploadvolumefactor:
case:
i.fa-certificate: 2 # Featured
i.fa-gem: 2 # Double Upload
"*": 1
# UNIT3D