autobrr/internal/indexer/definitions/polishtracker.yaml
ze0s e0be2a1e3e
feat(indexers): add PolishTracker (#436)
* feat(indexers): add PolishTracker

* fix(indexers): PT update port
2022-08-31 15:47:47 +02:00

66 lines
2.1 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
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: nickserv.account
type: text
required: false
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user_bot
- name: nickserv.password
type: secret
required: true
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "PT-BOT invite IRC_KEY"
required: true
label: Invite command
help: Invite auth with PT-BOT. Replace IRC_KEY 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 }}"