mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): add PTN (#615)
* feat(indexers): add PTN * missing source * YAML not yml * set nickserv required to false * cleanup
This commit is contained in:
parent
8d31437409
commit
03118d02d8
1 changed files with 64 additions and 0 deletions
64
internal/indexer/definitions/ptn.yaml
Normal file
64
internal/indexer/definitions/ptn.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
---
|
||||
#id: ptn
|
||||
name: Piratethenet
|
||||
identifier: ptn
|
||||
description: PTN is a ratioless movie tracker.
|
||||
language: en-us
|
||||
urls:
|
||||
- https://piratethenet.org/
|
||||
privacy: private
|
||||
protocol: torrent
|
||||
supports:
|
||||
- irc
|
||||
- rss
|
||||
source: custom
|
||||
settings:
|
||||
- name: torrent_pass
|
||||
type: secret
|
||||
required: true
|
||||
label: Torrent pass
|
||||
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:
|
||||
torrenturl: "/download.php?torrent={{ .torrentId }}&torrent_pass={{ .torrent_pass }}"
|
Loading…
Add table
Add a link
Reference in a new issue