mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): add FinElite (#1562)
* Added FinElite * Fixed test in finelite.yaml * fix: baseurl --------- Co-authored-by: mobbi.dev <62039300+mobbi-dev@users.noreply.github.com> Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
This commit is contained in:
parent
1530e9516d
commit
099a41f61b
1 changed files with 58 additions and 0 deletions
58
internal/indexer/definitions/finelite.yaml
Normal file
58
internal/indexer/definitions/finelite.yaml
Normal file
|
@ -0,0 +1,58 @@
|
|||
---
|
||||
#id: FinElite
|
||||
name: FinElite
|
||||
identifier: finelite
|
||||
description: FinElite (FE) is a finnish private tracker.
|
||||
language: fi-fi
|
||||
urls:
|
||||
- https://finelite.org/
|
||||
privacy: private
|
||||
protocol: torrent
|
||||
supports:
|
||||
- irc
|
||||
# source: TBDEV
|
||||
settings:
|
||||
- name: authkey
|
||||
type: secret
|
||||
required: true
|
||||
label: Auth key
|
||||
help: "Click on Settings > Torrent Settings > Copy the Auth key and paste it here."
|
||||
|
||||
irc:
|
||||
network: PreNET
|
||||
server: irc.predataba.se
|
||||
port: 6697
|
||||
tls: true
|
||||
channels:
|
||||
- "#announce"
|
||||
announcers:
|
||||
- FinElite
|
||||
settings:
|
||||
- name: nick
|
||||
type: text
|
||||
required: true
|
||||
label: Nick
|
||||
help: Bot nick. Eg. user_bot
|
||||
|
||||
parse:
|
||||
type: single
|
||||
lines:
|
||||
- tests:
|
||||
- line: 'This Is A New show S00E00 720p WEB H264-Test [TV HD] 1.40 GB https://finelite.org/details/0000000'
|
||||
expect:
|
||||
torrentName: This Is A New show S00E00 720p WEB H264-Test
|
||||
category: TV HD
|
||||
torrentSize: 1.40 GB
|
||||
baseUrl: https://finelite.org/
|
||||
torrentId: "0000000"
|
||||
pattern: '(.+) \[(.+)\] (.+) (https?\:\/\/[^\/]+\/)details\/(\d+)'
|
||||
vars:
|
||||
- torrentName
|
||||
- category
|
||||
- torrentSize
|
||||
- baseUrl
|
||||
- torrentId
|
||||
|
||||
match:
|
||||
infourl: "/details/{{ .torrentId }}"
|
||||
torrenturl: "/lataa/{{ .authkey }}/{{ .torrentId }}.torrent"
|
Loading…
Add table
Add a link
Reference in a new issue