autobrr/internal/indexer/definitions/norbits.yaml
ze0s 4bf023d030
feat(irc): support optional SASL and NickServ auth (#511)
* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): add validation

* feat(indexers): unify and set required values

* feat(irc): add postgres migrations

* feat(irc): use nick as handlerkey

* feat(irc): use account for nickserv

* fix(irc): pg db migration
2022-10-27 22:25:58 +02:00

66 lines
1.7 KiB
YAML
Raw Blame History

---
#id: norbits
name: Norbits
identifier: norbits
description: NorBits is a Norwegian Private site for MOVIES / TV / GENERAL
language: nb-NO
urls:
- https://www.norbits.net
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: passkey
type: secret
required: true
label: Passkey
help: "Copy passkey from a download link"
irc:
network: Norbits
server: irc.norbits.net
port: 6697
tls: true
channels:
- "#Norbits"
announcers:
- NB
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. Use primary nick or ask staff to allow grouped nick.
- name: auth.password
type: secret
required: true
label: NickServ Password
help: NickServ password
parse:
type: single
lines:
- test:
- "Ny torrent: Movie.2010.1080p.BluRay.x264.DTS-HD MA 5.1-OMEGA :: Kategori: Filmer/H.264/HD-1080p/i/Encode :: Scene: Nei :: St<53>rrelse: 9.69 GB :: https://norbits.net/details.php?id=000000"
- "Ny torrent: Some.TV.Show.s01e01.NORDIC.720p.DSNP.WEBRiP.DD.5.1.h264 :: Kategori: TV/H.264/HD-720p/Encode :: Scene: Nei :: St<53>rrelse: 891.04 MB :: https://norbits.net/details.php?id=000000"
pattern: 'Ny torrent: (.*) :: Kategori: (.*) :: Scene: (.*) :: St.+rrelse: (.*) :: (https?\:\/\/[^\/]+\/).*[\?]id=(\d+)'
vars:
- torrentName
- category
- scene
- torrentSize
- baseUrl
- torrentId
match:
torrenturl: "{{ .baseUrl }}download.php?id={{ .torrentId }}&passkey={{ .passkey }}"