diff --git a/README.md b/README.md index d8223a7c8..dc6733fc0 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Cinematik * CinemaZ (EuTorrents) * Classix + * Concertos * CrazyHD * CrazySpirits * CrnaBerza diff --git a/src/Jackett.Common/Definitions/concertos.yml b/src/Jackett.Common/Definitions/concertos.yml new file mode 100644 index 000000000..414754338 --- /dev/null +++ b/src/Jackett.Common/Definitions/concertos.yml @@ -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