autobrr/internal/indexer/definitions/orpheus.yaml
Ludvig Lundgren 4d40d41628
Refactor irc client (#19)
* refactor: update http handlers

* feat: add trace log level

* refactir: irc handler

* refactor(definitions): add irc settings and invite cmd:

* feat: add dft values to inputs

* refactor: indexer irc forms

* refactor(definitions): fix nickserv.password var:

* feat: pre fill indexer name field

* refactor: handle stopping and updates
2021-08-29 23:23:02 +02:00

65 lines
1.8 KiB
YAML

---
#id: orpheus
name: Orpheus
identifier: ops
description: Orpheus (OPS) is a Private Torrent Tracker for MUSIC
language: en-us
urls:
- https://orpheus.network/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: gazelle
settings:
- name: authkey
type: text
label: Auth key
help: Right click DL on a torrent and get the authkey.
- name: torrent_pass
type: text
label: Torrent pass
help: Right click DL on a torrent and get the torrent_pass.
irc:
network: Orpheus
server: irc.orpheus.network
port: 7000
tls: true
channels:
- "#announce"
announcers:
- hermes
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user|bot
- name: nickserv.password
type: secret
required: true
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "hermes enter #announce USERNAME IRCKey"
required: true
label: Invite command
help: Invite auth with Hermes.
parse:
type: single
lines:
- test:
- "TORRENT: That Artist - Albuum [2002] [Single] - FLAC / Lossless / WEB - 2000s,house,uk.garage,garage.house - https://orpheus.network/torrents.php?id=000000 / https://orpheus.network/torrents.php?action=download&id=0000000"
- "TORRENT: Something [2021] [Album] - FLAC / Lossless / CD - - https://orpheus.network/torrents.php?id=000000 / https://orpheus.network/torrents.php?action=download&id=0000000"
pattern: 'TORRENT: (.*) - (.*) - https?://.* / (https?://.*id=\d+)'
vars:
- torrentName
- tags
- torrentId
match:
torrenturl: "{{ .baseUrl }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"