mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): add BrokenStones (#1390)
* feat(indexers): add BrokenStones * fix matching for groupId/torrentId urls * add version(to title), size and category
This commit is contained in:
parent
90272188ca
commit
ef7b5abe1a
1 changed files with 82 additions and 0 deletions
82
internal/indexer/definitions/brokenstones.yaml
Normal file
82
internal/indexer/definitions/brokenstones.yaml
Normal file
|
@ -0,0 +1,82 @@
|
|||
---
|
||||
#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: torrent_pass
|
||||
type: text
|
||||
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 }}&torrent_pass={{ .torrent_pass }}"
|
Loading…
Add table
Add a link
Reference in a new issue