--- id: brasiltracker name: BrasilTracker description: "BrasilTracker is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL" language: en-us encoding: UTF-8 type: private links: - https://brasiltracker.org/ caps: categorymappings: - {id: 1, cat: Other, desc: "Filmes/Series/Música"} modes: search: [q, imdbid] tv-search: [q, season, ep] movie-search: [q, imdbid] settings: - name: username type: text label: Username - name: password type: password label: Password - name: freeleech type: checkbox label: Filter freeleech only default: false - name: sort type: select label: Sort requested from site default: "time" options: "time": "created" "seeders": "seeders" "size": "size" - name: type type: select label: Order requested from site default: "desc" options: "desc": "desc" "asc": "asc" - name: info_results type: info label: "Search results" default: "This indexer does not support Torrent Groups
Un-tick the Torrent grouping (Habilitar Grupo de Torrents) checkbox in your Configurações." - name: info_categories type: info label: "About categories" default: "BrasilTracker does not show Categories in its Search Results.
To use this indexer with Sonarr/Radarr set your indexer category to 7000." login: path: login.php method: form form: form#loginform inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" keeplogged: 1 error: - selector: form#loginform:contains("incorretos") test: path: index.php selector: a[href^="logout.php?auth="] search: paths: # https://brasiltracker.org/torrents.php?searchstr=mandalorain&order_by=size&order_way=desc&action=basic&searchsubmit=1 # https://brasiltracker.org/torrents.php?searchstr=tt8179024&order_by=time&order_way=desc&action=basic&searchsubmit=1 - path: torrents.php inputs: searchstr: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" order_by: "{{ .Config.sort }}" order_way: "{{ .Config.type }}" action: basic searchsubmit: 1 rows: selector: "table#torrent_table > tbody > tr.torrent{{ if .Config.freeleech }}:has(strong.tl_free){{ else }}{{ end }}" fields: category: text: 1 details: selector: a[href^="torrents.php?id="] attribute: href download: selector: a[href^="torrents.php?action=download&id="] attribute: href description: selector: div.tags banner: selector: img[alt="Cover"] attribute: src optional: true imdb: selector: a[href*="imdb.com/title/tt"] attribute: href optional: true files: selector: td:nth-child(3) date: selector: span.time attribute: title filters: - name: dateparse args: "Jan 2 2006, 15:04" size: selector: td:nth-child(5) grabs: selector: td:nth-child(6) seeders: selector: td:nth-child(7) leechers: selector: td:nth-child(8) downloadvolumefactor: case: strong.tl_free: 0 "*": 1 uploadvolumefactor: text: 1 title_details: selector: div.torrent_info remove: strong title: selector: a[href^="torrents.php?id="] filters: - name: append args: " {{ .Result.title_details }}" # engine n/a