mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00

* fix(indexers): BrokenStones fix auth for "real life" Actions. * improve matching of torrentName * fix expectations * greedy up for torrentName
88 lines
2.3 KiB
YAML
88 lines
2.3 KiB
YAML
---
|
|
#id: brks
|
|
name: BrokenStones
|
|
identifier: brks
|
|
description: BrokenStones is a Private Torrent Tracker for macOS
|
|
language: en-us
|
|
urls:
|
|
- https://brokenstones.is/
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
# source: gazelle
|
|
settings:
|
|
- name: authkey
|
|
type: secret
|
|
required: true
|
|
label: Auth key
|
|
help: Right click DL on a torrent and get the authkey.
|
|
|
|
- name: torrent_pass
|
|
type: secret
|
|
required: true
|
|
label: Torrent pass
|
|
help: Right click DL on a torrent and get the torrent_pass.
|
|
|
|
irc:
|
|
network: BrokenStones
|
|
server: irc.brokenstones.is
|
|
port: 6697
|
|
tls: true
|
|
channels:
|
|
- "#announce"
|
|
announcers:
|
|
- stonekeeper
|
|
settings:
|
|
- name: nick
|
|
type: text
|
|
required: true
|
|
label: Nick
|
|
help: Bot nick. Eg. user-bot
|
|
|
|
- name: auth.account
|
|
type: text
|
|
required: true
|
|
label: NickServ Account
|
|
help: NickServ account. Make sure to group your user and bot.
|
|
|
|
- name: auth.password
|
|
type: secret
|
|
required: true
|
|
label: NickServ Password
|
|
help: NickServ password
|
|
|
|
- name: invite_command
|
|
type: secret
|
|
default: "stonekeeper enter USERNAME IRCKEY #announce"
|
|
required: true
|
|
label: Invite command
|
|
help: Invite auth with StoneKeeper. Replace USERNAME and IRCKEY.
|
|
|
|
parse:
|
|
type: single
|
|
lines:
|
|
- tests:
|
|
- line: 'TORRENT: Broken Stones [4.2.0/U2B] - 4.20 MB - Mac Category - private, tracker - https://brokenstones.is/torrents.php?id=777 / https://brokenstones.is/torrents.php?action=download&id=666'
|
|
expect:
|
|
torrentName: Broken Stones [4.2.0/U2B]
|
|
torrentSize: 4.20 MB
|
|
category: Mac Category
|
|
tags: private, tracker
|
|
baseUrl: https://brokenstones.is/
|
|
groupId: "777"
|
|
torrentId: "666"
|
|
pattern: 'TORRENT: (.*\]) - (.*?) - (.*?) - (.*?) - (https:\/\/brokenstones\.is\/)torrents.php\?id=(\d+) \/ https:\/\/brokenstones.is\/torrents.php\?action=download&id=(\d+)'
|
|
vars:
|
|
- torrentName
|
|
- torrentSize
|
|
- category
|
|
- tags
|
|
- baseUrl
|
|
- groupId
|
|
- torrentId
|
|
|
|
match:
|
|
infourl: "/torrents.php?id={{ .groupId }}"
|
|
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"
|