autobrr/internal/indexer/definitions/nebulance.yaml
ze0s 03ef86ac96
fix(indexers): NBL irc announce regex (#1153)
* fix(indexers): NLB regex pattern

* fix: improve regex

* fix: reintroduce category group
fix: exempt season numbering from title

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-10-01 16:47:30 +02:00

85 lines
2.9 KiB
YAML

---
#id: nebulance
name: Nebulance
identifier: nbl
description: Nebulance (NBL) is a ratioless private torrent tracker for TV
language: en-us
urls:
- https://nebulance.io/
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: Nebulance
server: irc.nebulance.cc
port: 6697
tls: true
channels:
- "#nbl-announce"
announcers:
- Muffit
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user|bot
- name: auth.account
type: text
required: false
label: NickServ Account
help: NickServ account. Make sure to group your user and bot.
- name: auth.password
type: secret
required: false
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "Muffit bot #nbl-announce USERNAME IRCKEY"
required: true
label: Invite command
help: Invite auth with Muffit. Replace USERNAME and IRCKEY.
parse:
type: single
lines:
- test:
- "[Episodes] The Show - S02E08 [WebRip / x264 / MKV / 720p / HD / VLAD / The.Show.S02E08.Episode.Name.720p.ANPL.WEBRip.AAC2.0.x264-GROUP.mkv] [702.00 MB - Uploader: UPLOADER] - http://nebulance.io/torrents.php?id=000 [Tags: comedy,subtitles,cbs]"
- "[Seasons] Other Show - S10 [HDTV / x264 / MKV / MP4 / 480p / SD / BTN / Other.Show.S10.HDTV.x264-GROUP] [5.27 GB - Uploader: UPLOADER] - http://nebulance.io/torrents.php?id=0000 [Tags: comedy,subtitles,cbs]"
- "[Episode] Late Night with Show Host - 2021-01-20 [WebDl / h264 / MKV / 1080p / HD / Scene / GROUP / talk.show.2021.01.20.famous.person.1080p.web.h264-group.mkv] [2.22 GB - Uploader: Uploader1] - http://nebulance.io/torrents.php?id=000000 [Tags: episode,comedy,talk.show,nbc,autofill,subtitles,webdl,h264,mkv,1080p,hd,scene,group.release]"
- "[Season] Jeeves & Wooster [MKV / 480p / SD / Jeeves and Wooster - Season 4] [2.06 GB - Uploader: redacted] - https://nebulance.io/torrents.php?id=0000 [Tags: season,comedy,itv1,subtitles,mkv,480p,sd]"
pattern: '\[(.+?)\]\s+(.+?)(?:\s+-\s+(?:S\d{2}E\d{2}|S\d{2}|\d{4}-\d{2}-\d{2}))?\s+\[(.+) \/ (.+)\] \[(.+) - Uploader: (.+)\] - (https?:\/\/.+\/).+id=(\d+) \[Tags: (.*)\]'
vars:
- category
- title
- releaseTags
- torrentName
- torrentSize
- uploader
- baseUrl
- torrentId
- tags
match:
infourl: "/torrents.php?id={{ .torrentId }}"
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"