mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
66 lines
No EOL
1.5 KiB
YAML
66 lines
No EOL
1.5 KiB
YAML
---
|
|
#id: ptn
|
|
name: Piratethenet
|
|
identifier: ptn
|
|
description: PTN is a ratioless movie tracker.
|
|
language: en-us
|
|
urls:
|
|
- https://piratethenet.org/
|
|
- http://piratethenet.org/
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
source: custom
|
|
settings:
|
|
- name: torrent_pass
|
|
type: secret
|
|
required: true
|
|
label: Passkey
|
|
help: Check the RSS feed for your passkey.
|
|
|
|
irc:
|
|
network: TiK-T0K
|
|
server: irc.tik-t0k.net
|
|
port: 6697
|
|
tls: true
|
|
channels:
|
|
- "#ptn.announce"
|
|
announcers:
|
|
- PTNBot
|
|
settings:
|
|
- name: nick
|
|
type: text
|
|
required: true
|
|
label: Nick
|
|
help: Bot nick. Eg. user|autodl
|
|
|
|
- name: auth.account
|
|
type: text
|
|
required: false
|
|
label: NickServ Account
|
|
help: NickServ account. Make sure to group your user and bot.
|
|
|
|
- name: auth.password
|
|
type: secret
|
|
required: false
|
|
label: NickServ Password
|
|
help: NickServ password
|
|
|
|
parse:
|
|
type: single
|
|
lines:
|
|
- test:
|
|
- "New in 720P: Rabbit.Without.Ears.II.2009.ROSUB.720p.BluRay.x264-ZoNE with 4.37 GB in 2F @ https://PTN/moviedetails.php?movieid=7036 https://PTN/details.php?id=65157"
|
|
pattern: 'New in (.*): (.*) with (.*) in .* (https?\:\/\/.+\/).+id=(.+)'
|
|
vars:
|
|
- category
|
|
- torrentName
|
|
- torrentSize
|
|
- baseUrl
|
|
- torrentId
|
|
|
|
match:
|
|
infourl: "/details.php?id={{ .torrentId }}"
|
|
torrenturl: "/download.php?torrent={{ .torrentId }}&passkey={{ .torrent_pass }}" |