feat(indexers): add iPlay / RMT (#503)

This commit is contained in:
ze0s 2022-10-18 20:21:29 +02:00 committed by GitHub
parent e2bb14afa4
commit 7ec121a583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,58 @@
---
#id: romanianmetaltorrents
name: Romanian Metal Torrents
identifier: romanianmetaltorrents
description: Romanian Metal Torrents (RMT) is a private torrent tracker for METAL MUSIC.
language: en-us
urls:
- https://metal.iplay.ro
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: passkey
type: secret
label: Passkey
help: "Go to your profile and copy your passkey"
irc:
network: iPLAY
server: irc.iplay.ro
port: 6667
tls: false
channels:
- "#metal"
announcers:
- Metal
settings:
- name: nickserv.account
type: text
required: true
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
parse:
type: single
lines:
- test:
- "New torrent: Artist-Album-2022-GROUP -- [Black Metal] -- https://metal.iplay.ro/details.php?id=000000 -- by Anonymous"
- "New torrent: Artist-Album -[WEB | FLAC]- RMT -- [FreeLeech!] -- [-Discography/Album Pack] -- https://metal.iplay.ro/details.php?id=000000 -- by Anonymous"
pattern: 'New Torrent: (.*?) (?:-- \[(.*)!\] )?-- \[(.*)] -- (https?://.+/).*id=(.*) -- by (.*)'
vars:
- torrentName
- freeleech
- category
- baseUrl
- torrentId
- uploader
match:
torrenturl: "{{ .baseUrl }}/download2.php?id={{ .torrentId }}&passkey={{ .passkey }}"