autobrr/internal/indexer/definitions/polishtracker.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

73 lines
2.2 KiB
YAML

---
#id: polishtracker
name: PolishTracker
identifier: polishtracker
description: PolishTracker (PT) is a POLISH private torrent tracker for 0DAY / GENERAL.
language: en-us
urls:
- https://pte.nu
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: rsskey
type: secret
required: true
label: RSS key
help: "Go to your profile and copy your RSS key"
irc:
network: PolishTracker
server: irc.pte.nu
port: 6775
tls: true
channels:
- "#pt-announce"
announcers:
- PT-BOT
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: "PT-BOT invite IRCKEY"
required: true
label: Invite command
help: Invite auth with PT-BOT. Replace IRCKEY with your IRC key.
parse:
type: single
lines:
- test:
- "::: PolishTracker ::: Torrent ( Some.Movie.2017.PLSUB.1080p.BDRip.x264-GROUP ) || Kategoria: ( movies HD ) || Rozmiar: ( 2.14 GB ) || Link: ( https://pte.nu/torrents/000000 ) || Wiecej: ( http://www.filmweb.pl/film?id=000000 )"
- "::: PolishTracker ::: Torrent ( Some.Other.Movie.1985.iNTERNAL.BDRip.x264-GROUP ) || Kategoria: ( movies SD ) || Rozmiar: ( 1.15 GB ) || Link: ( https://pte.nu/torrents/000000 )"
- "::: PolishTracker ::: Torrent ( Some.Other.Movie.1985.iNTERNAL.720p.BluRay.x264-GROUP ) || Kategoria: ( movies HD ) || Rozmiar: ( 5.02 GB ) || Link: ( https://pte.nu/torrents/000000 )"
pattern: '::: PolishTracker ::: Torrent \( (.*) \) \|\| Kategoria: \( (.*) \) \|\| Rozmiar: \( (.*) \) \|\| Link: \( (https://.*)/torrents/(\d+) \)'
vars:
- torrentName
- category
- torrentSize
- baseUrl
- torrentId
match:
torrenturl: "{{ .baseUrl }}/downrss/{{ .rsskey }}/{{ .torrentId }}"