1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 19:58:39 +00:00

add concertos a private site for live concerts. resolves #4975

This commit is contained in:
Garfield69 2019-10-09 12:06:41 +13:00
parent cc7f753dc3
commit b8e34c4966
2 changed files with 102 additions and 0 deletions

View file

@ -195,6 +195,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Cinematik
* CinemaZ (EuTorrents)
* Classix
* Concertos
* CrazyHD
* CrazySpirits
* CrnaBerza

View file

@ -0,0 +1,101 @@
---
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, imdbid]
login:
path: login
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: 1
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: created_at
direction: desc
rows:
selector: table > tbody > tr
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-gem: 0 # Double Upload
i.fa-certificate: 0 # Featured
"*": "1"
uploadvolumefactor:
case:
i.fa-certificate: 2 # Featured
i.fa-gem: 2 # Double Upload
"*": "1"
# UNIT3D