autobrr/internal/indexer/definitions/ncore.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

72 lines
1.8 KiB
YAML

#id: nCore
name: nCore
identifier: ncore
description: nCore
language: en-us
urls:
- https://ncore.pro/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: unknown
settings:
- name: passkey
type: secret
required: true
label: Passkey
help: "Check a torrent download link. key='value' is your passkey."
irc:
network: nCore
server: irc.ncore.pro
port: 6697
tls: true
channels:
- "#ncore-bot"
announcers:
- nCore
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
- name: invite_command
type: secret
default: "NBOT !invite IRCKEY"
required: true
label: Invite command
help: Invite auth with the key from https://ncore.pro/irc.php. Replace IRCKEY
parse:
type: single
lines:
- test:
- "[NEW TORRENT in mp3] Artist name - Album name > 115.63 MiB in 17F > https://ncore.pro/torrents.php?action=details&id=0000000"
- "[NEW TORRENT in xvidser_hun] Some.Show.S02E67.RTLM.WEB-DL.H264.HUN-GROUP > 269.31 MiB in 2F > https://ncore.pro/torrents.php?action=details&id=0000000"
pattern: '\[NEW TORRENT in (.*)\] (.*) > (.*) in .* > (https?://.*/).*action=.*id=(.*)'
vars:
- category
- torrentName
- torrentSize
- baseUrl
- torrentId
match:
# https://ncore.pro/torrents.php?action=download&id=0000&key=00000
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&key={{ .passkey }}"