1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-27 03:43:30 +01:00
Files
Indexers/definitions/v3/bitbr.yml
bakerboy448 f929290959 jackett indexers as of 5bb302cffaa9369ece8b9120ad608828b3c336c3
jackett indexers as of 1b441bd030a95d7bce7af8149af8450cb6570bb5

jackett indexers as of 97296ac02151e6ee42cf1f26b24e74c140f517b7

jackett indexers as of 49a0c2d7e0f1f61b2fd04883ccc21267f7068f78

jackett indexers as of 1076bb3a895e8c8482ae131c2a365a52f24ba1c6

jackett indexers as of 30c308b0992de9a673a73e68b36959243dec1066
2022-02-15 19:02:39 -06:00

190 lines
5.3 KiB
YAML

---
id: bitbr
name: BitBR
description: "BitBR is a BRAZILIAN Private Torrent Tracker for HD MOVIES / TV"
language: pt-BR
type: private
encoding: UTF-8
links:
- https://bitbr.cc/
caps:
categorymappings:
- {id: 405, cat: TV/Anime, desc: "Anime"}
- {id: 414, cat: PC/Mobile-Other, desc: "App"}
- {id: 413, cat: Audio/Audiobook, desc: "Audiobooks"}
- {id: 409, cat: XXX, desc: "Adulto XxX"}
- {id: 410, cat: Other, desc: "Desenhos"}
- {id: 404, cat: TV/Documentary, desc: "Documentários"}
- {id: 407, cat: TV/Sport, desc: "Esportes"}
- {id: 401, cat: Movies, desc: "Filmes"}
- {id: 416, cat: Books/Comics, desc: "HQ/Mangá"}
- {id: 418, cat: Books/EBook, desc: "eBooks"}
- {id: 408, cat: PC/Games, desc: "Jogos"}
- {id: 417, cat: Audio, desc: "Músicas"}
- {id: 412, cat: Other, desc: "Scripts Android/iOS"}
- {id: 411, cat: Other, desc: "Scripts PHP"}
- {id: 402, cat: TV, desc: "Séries"}
- {id: 406, cat: PC, desc: "Softwares"}
- {id: 415, cat: PC/0day, desc: "istema Operacional"}
- {id: 403, cat: TV, desc: "TV"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: 2facode
type: text
label: 2FA code
- name: info_2fa
type: info
label: "About 2FA code"
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the BitBR Web Site. Otherwise just leave it empty."
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: 4
options:
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the <b>Torrents por página:</b> setting to <b>100</b> on your account profile <b>Configurações do Tracker</b>.
login:
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
selector: img[alt="CAPTCHA"]
input: imagestring
inputs:
secret: ""
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
two_step_code: "{{ .Config.2facode }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("Falha")) # code or username or password incorrect
- selector: td.embedded:has(h2:contains("Negada")) # you are already logged on
test:
path: index.php
selector: a[href="logout.php"]
search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 incldead, 1 active, 2 dead
incldead: 0
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 title, 1 descr, 3 uploader, 4 imdburl
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
# 0 AND, 1 OR, 2 exact
search_mode: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# does not return imdb link in results
rows:
selector: table.torrents > tbody > tr:has(table.torrentname)
fields:
category:
selector: a[href^="?cat="]
attribute: href
filters:
- name: querystring
args: cat
title_default:
selector: a[href^="details.php?id="]
title_optional:
optional: true
selector: a[title][href^="details.php?id="]
attribute: title
title:
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
date_elapsed:
# time type: time elapsed (default)
selector: td:nth-child(4) > span[title]
attribute: title
optional: true
filters:
- name: append
args: " -03:00" # BRT
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
date_added:
# time added
selector: td:nth-child(4):not(:has(span))
optional: true
filters:
- name: append
args: " -03:00" # BRT
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
size:
selector: td:nth-child(5)
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
grabs:
selector: td:nth-child(8)
downloadvolumefactor:
case:
img.pro_free: 0
img.pro_free2up: 0
img.pro_50pctdown: 0.5
img.pro_50pctdown2up: 0.5
img.pro_30pctdown: 0.3
"*": 1
uploadvolumefactor:
case:
img.pro_50pctdown2up: 2
img.pro_free2up: 2
img.pro_2up: 2
"*": 1
minimumratio:
text: 0.8
# NexusPHP Standard v1.5 Beta 4 (custom)