feat(indexers): nbl set tls inv cmd and improve parsing (#403)

* fix(indexers): nbl set tls default true

* feat(indexers): nbl add invite cmd and improve parse

* feat(indexers): improve parsing
This commit is contained in:
ze0s 2022-08-11 16:52:42 +02:00 committed by GitHub
parent 22829b194f
commit 44dfae8100
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ irc:
network: Nebulance network: Nebulance
server: irc.nebulance.cc server: irc.nebulance.cc
port: 6697 port: 6697
tls: true
channels: channels:
- "#nbl-announce" - "#nbl-announce"
announcers: announcers:
@ -35,24 +36,34 @@ irc:
type: text type: text
required: true required: true
label: NickServ Account label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user|bot help: NickServ account. Make sure to group your user and bot. Like user|bot
- name: nickserv.password - name: nickserv.password
type: secret type: secret
required: true required: true
label: NickServ Password label: NickServ Password
help: 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.
parse: parse:
type: single type: single
lines: lines:
- test: - 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]" - "[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]" - "[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]"
pattern: '\[(.*?)\] (.*?) \[(.*?)\] \[(.*?) - Uploader: (.*?)\] - (https?:\/\/.*)id=(\d+) \[Tags: (.*)\]' - "[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]"
pattern: '\[(.*?)\] (.*?) - (?:S.*|\d{4}-\d{2}-\d{2}) \[(.*) \/ (.*)\] \[(.*?) - Uploader: (.*?)\] - (https?:\/\/.*)id=(\d+) \[Tags: (.*)\]'
vars: vars:
- category - category
- torrentName - title
- releaseTags - releaseTags
- torrentName
- torrentSize - torrentSize
- uploader - uploader
- baseUrl - baseUrl