From 099a41f61b266d9e31a7a19b25f872e8a6f68c7a Mon Sep 17 00:00:00 2001 From: kanyewww <160956706+kanyewww@users.noreply.github.com> Date: Sat, 1 Jun 2024 21:05:03 +0300 Subject: [PATCH] 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> --- internal/indexer/definitions/finelite.yaml | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 internal/indexer/definitions/finelite.yaml diff --git a/internal/indexer/definitions/finelite.yaml b/internal/indexer/definitions/finelite.yaml new file mode 100644 index 0000000..3eaaa34 --- /dev/null +++ b/internal/indexer/definitions/finelite.yaml @@ -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"