autobrr/internal/indexer/definitions/iplay.yaml
soup 4ae2773dc9
fix(indexers): multiple definition regex pattern corrections (#656)
* fuzer: fix regex pattern

old: https://regex101.com/r/pmyFOX/1

new: https://regex101.com/r/YxtVT7/1

* hebits: fix regex pattern

old: https://regex101.com/r/66kpcT/1

new: https://regex101.com/r/AuJPRg/1

* iplay: fix regex pattern

* forgot to update pattern

* ncore: fix regex pattern

didnt catch baseurl correctly

* retroflix: fix regex pattern

old: https://regex101.com/r/WY5qPu/1

new: https://regex101.com/r/qIS6i5/1

* speedapp: removed unused capture group

old: https://regex101.com/r/1v0T3j/1

new: https://regex101.com/r/Fzv6Cq/1

* torrentbytes: fixed bad baseurl capture

old: https://regex101.com/r/n5iJr6/1

new: https://regex101.com/r/ozIu3F/1
2023-01-17 22:25:43 +01:00

66 lines
1.6 KiB
YAML

---
#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
required: true
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: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
- name: auth.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot.
- name: auth.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: "/download2.php?id={{ .torrentId }}&passkey={{ .passkey }}"