autobrr/internal/indexer/definitions/capybarabr.yaml
Thiago Henrique 58c9b06c84
feat(indexers): CapybaraBR parse freeleech and internal (#2077)
* feat(indexers): update CapybaraBR IRC announce parsing

* fix(capybarabr): correct casing of freeleechPercent
2025-05-24 12:20:58 +02:00

152 lines
5.4 KiB
YAML

---
#id: CapybaraBR
name: CapybaraBR
identifier: capybarabr
description: CapybaraBR (CBR) is a Brazilian general private torrent tracker focused on movies, TV shows, and more.
language: pt-BR
urls:
- https://capybarabr.com/
privacy: private
protocol: torrent
supports:
- irc
# source: UNIT3D
settings:
- name: rsskey
type: secret
required: true
label: RSS key (RID)
help: "Go to your profile tab, Settings > Security, copy RSS Key (RID)"
irc:
network: P2P-Network
server: irc.p2p-network.net
port: 6697
tls: true
channels:
- "#cbr.announce"
announcers:
- CBRAnnounce
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
- name: auth.account
type: text
required: false
label: NickServ Account
help: NickServ account. Make sure to group your user and bot.
- name: auth.password
type: secret
required: false
label: NickServ Password
help: NickServ password
parse:
type: single
lines:
- tests:
- line: "[Series] [Encode] [576p] [A Barreira Ainda Não Virou Baile 2024 S02 576p DVDRip FLAC 2.0 x264 MULTI-SleepCOUTO] [https://capybarabr.com/torrents/15123] [25.36 GiB] [FL: 100%] [INTERNAL: 1] [tmdb-28136]"
expect:
category: Series
releaseTags: Encode
resolution: 576p
torrentName: "A Barreira Ainda Não Virou Baile 2024 S02 576p DVDRip FLAC 2.0 x264 MULTI-SleepCOUTO"
baseUrl: https://capybarabr.com/
torrentId: "15123"
torrentSize: 25.36 GiB
freeleechPercent: "100%"
internal: "1"
tags: "28136"
- line: "[Cursos] [Saúde] [NOTSMART: Como ficar pobre [2022]] [https://capybarabr.com/torrents/15049] [6.76 GiB] [FL: 100%] [INTERNAL: 0]"
expect:
category: Cursos
releaseTags: Saúde
resolution: ""
torrentName: "NOTSMART: Como ficar pobre [2022]"
baseUrl: https://capybarabr.com/
torrentId: "15049"
torrentSize: 6.76 GiB
freeleechPercent: "100%"
internal: "0"
tags: ""
- line: "[Jogos] [PC] [Damas - FREE [MULTI]] [https://capybarabr.com/torrents/15046] [568.96 MiB] [FL: 50%] [INTERNAL: 0]"
expect:
category: Jogos
releaseTags: PC
resolution: ""
torrentName: "Damas - FREE [MULTI]"
baseUrl: https://capybarabr.com/
torrentId: "15046"
torrentSize: 568.96 MiB
freeleechPercent: "50%"
internal: "0"
tags: ""
- line: "[Esportes] [WEB-DL] [Rinha de Patos 1080p COMB WEB-DL AAC2.0 H.264 MULTI-LiberaARINHA] [https://capybarabr.com/torrents/8773] [6.06 GiB] [FL: 100%] [INTERNAL: 0]"
expect:
category: Esportes
releaseTags: WEB-DL
resolution: ""
torrentName: "Rinha de Patos 1080p COMB WEB-DL AAC2.0 H.264 MULTI-LiberaARINHA"
baseUrl: https://capybarabr.com/
torrentId: "8773"
torrentSize: 6.06 GiB
freeleechPercent: "100%"
internal: "0"
tags: ""
- line: "[Programas] [Arquitetura] [Castelos de areia 3D [PT-BR]] [https://capybarabr.com/torrents/13381] [4.48 GiB] [FL: 100%] [INTERNAL: 0]"
expect:
category: Programas
releaseTags: Arquitetura
resolution: ""
torrentName: "Castelos de areia 3D [PT-BR]"
baseUrl: https://capybarabr.com/
torrentId: "13381"
torrentSize: 4.48 GiB
freeleechPercent: "100%"
internal: "0"
tags: ""
- line: "[HQs] [CBR] [Num seir le - Vol. 02 - FundoDeQuintal [2024]] [https://capybarabr.com/torrents/14021] [186.16 MiB] [FL: 0%] [INTERNAL: 0]"
expect:
category: HQs
releaseTags: CBR
resolution: ""
torrentName: "Num seir le - Vol. 02 - FundoDeQuintal [2024]"
baseUrl: https://capybarabr.com/
torrentId: "14021"
torrentSize: 186.16 MiB
freeleechPercent: "0%"
internal: "0"
tags: ""
- line: "[Revistas] [PDF] [Cavalos Voadores - Editora Quatro Cascos [2024]] [https://capybarabr.com/torrents/15094] [15.81 MiB] [FL: 0%] [INTERNAL: 0]"
expect:
category: Revistas
releaseTags: PDF
resolution: ""
torrentName: "Cavalos Voadores - Editora Quatro Cascos [2024]"
baseUrl: https://capybarabr.com/
torrentId: "15094"
torrentSize: 15.81 MiB
freeleechPercent: "0%"
internal: "0"
tags: ""
pattern: '\[(.+?)\] \[(.+?)\] (?:\[(.+?)\] )?\[(.+?)\] \[(https?:\/\/[^\/]+\/).+?(\d+)\] \[(.+?)\] \[FL: (.+?)\] \[INTERNAL: (.+?)\](?: \[tmdb-(\d+)\])?'
vars:
- category
- releaseTags
- resolution
- torrentName
- baseUrl
- torrentId
- torrentSize
- freeleechPercent
- internal
- tags
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"