autobrr/internal/indexer/definitions/ptp.yaml
2021-08-30 20:11:23 +02:00

66 lines
1.7 KiB
YAML

---
#id: ptp
name: PassThePopcorn
identifier: ptp
description: PassThePopcorn (PTP) is a private torrent tracker for MOVIES
language: en-us
urls:
- https://passthepopcorn.me
privacy: private
protocol: torrent
supports:
- irc
- rss
source: gazelle
settings:
- name: authkey
type: secret
label: Auth key
help: Right click DL on a torrent and get the authkey.
- name: torrent_pass
type: secret
label: Torrent pass
help: Right click DL on a torrent and get the torrent_pass.
irc:
network: PassThePopcorn
server: irc.passthepopcorn.me
port: 7000
tls: true
channels:
- "#ptp-announce-dev"
announcers:
- Hummingbird
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user|autodl
- name: nickserv.password
type: secret
required: true
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "Hummingbird ENTER USERNAME IRCKey #ptp-announce-dev"
required: true
label: Invite command
help: Invite auth with Hummingbird.
parse:
type: single
lines:
- test:
- "That Movie [1972] by Some Director | x264 / Blu-ray / MKV / 1080p | 204371 | 964303 | That.Movie.1972.1080p.BluRay.FLAC.x264-GROUP | comedy, drama, romance"
pattern: '.* \[(.*)\] by .* \| (.*) \| .* \| (.*) \| (.*) \| (.*)'
vars:
- year
- releaseTags
- torrentId
- torrentName
- tags
match:
torrenturl: "https://passthepopcorn.me/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"