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

* fix ops parsing extend regex capture group for torrentName var to contain releaseTags var replace all – in announces with a - for torrentName var * update ops yaml for new announces * replace en-dashes with hyphens for OPS add Sampler to releaseTypeMusic const sort strings of releaseTypeMusic const alphabetically shorten import in constants.ts * replace en-dashes in pattern with . to cover any separator --------- Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
76 lines
2.4 KiB
YAML
76 lines
2.4 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: torrent_pass
|
||
type: text
|
||
required: true
|
||
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: 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: "hermes enter #announce USERNAME IRCKEY"
|
||
required: true
|
||
label: Invite command
|
||
help: Invite auth with Hermes. Replace USERNAME and IRCKEY.
|
||
|
||
parse:
|
||
type: single
|
||
lines:
|
||
- test:
|
||
- "TORRENT: Dirty Dike – Bogies & Alcohol – [2008] [Album] CD/MP3/320 – hip.hop,uk.hip.hop,united.kingdom – https://orpheus.network/torrents.php?id=0000000 – https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download"
|
||
- "TORRENT: Various Artists – Bicycle Day: 85 Yrs of LSD Special – [2023] [Compilation] WEB/FLAC/Lossless – ambient,electronic – https://orpheus.network/torrents.php?id=0000000 – https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download"
|
||
- "TORRENT: Snoop Dogg – Untitled – [2001] [Sampler] Vinyl/MP3/320 – – https://orpheus.network/torrents.php?id=0000000 – https://orpheus.network/torrents.php?id=0000000&torrentid=0000000&action=download"
|
||
pattern: 'TORRENT: (.* . \[(.*?)\] \[(.*?)\] (.*)) . \s*(.*) . https?:\/\/.* . (https?:\/\/.*\/).*torrentid=(\d+).*'
|
||
vars:
|
||
- torrentName
|
||
- year
|
||
- category
|
||
- releaseTags
|
||
- tags
|
||
- baseUrl
|
||
- torrentId
|
||
|
||
match:
|
||
infourl: "/torrents.php?torrentid={{ .torrentId }}"
|
||
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&torrent_pass={{ .torrent_pass }}"
|