From 93538d0254cde5780995411e001cf5f5df0da3fb Mon Sep 17 00:00:00 2001 From: Vince JV <1276544+vincejv@users.noreply.github.com> Date: Wed, 20 Mar 2024 00:03:19 +0800 Subject: [PATCH] feat(indexers): add FearNoPeer (#1459) --- internal/indexer/definitions/fearnopeer.yaml | 83 ++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 internal/indexer/definitions/fearnopeer.yaml diff --git a/internal/indexer/definitions/fearnopeer.yaml b/internal/indexer/definitions/fearnopeer.yaml new file mode 100644 index 0000000..3757574 --- /dev/null +++ b/internal/indexer/definitions/fearnopeer.yaml @@ -0,0 +1,83 @@ +--- +name: FearNoPeer +identifier: fnp +description: FearNoPeer (FnP) is a private torrent tracker for Movies, TV Shows & General releases +language: en-us +urls: + - https://fearnopeer.com/ +privacy: private +protocol: torrent +supports: + - irc + - rss +# source: UNIT3D +settings: + - name: rsskey + type: secret + required: true + label: RSS key (RID) + help: "Go to your profile > Settings > Security > RSS Key (RID) and paste your RID into this field." + +irc: + network: LibraIRC + server: irc.librairc.net + port: 6697 + tls: true + channels: + - "#fearnopeer-announce" + announcers: + - FnP + 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 + + parse: + type: single + lines: + - tests: + - line: "[FnP] New Upload - Category: [Movies] Type: [WEB-DL] Name: [Air Bud: World Pup 2001 1080p NF WEB-DL DD 5.1 x264-monkee] Size: [4.54 GiB] Uploader: [MartyMcFly] Url: [https://fearnopeer.com/torrents/12345]" + expect: + category: Movies + releaseTags: WEB-DL + torrentName: "Air Bud: World Pup 2001 1080p NF WEB-DL DD 5.1 x264-monkee" + torrentSize: 4.54 GiB + uploader: MartyMcFly + baseUrl: https://fearnopeer.com/ + torrentId: "12345" + - line: "[FnP] New Upload - Category: [TV] Type: [WEB-DL] Name: [The Regime S01E03 1080p AMZN WEB-DL DD+ 5.1 H.264-FLUX] Size: [4.14 GiB] Uploader: [oppie] Url: [https://fearnopeer.com/torrents/54321]" + expect: + category: TV + releaseTags: WEB-DL + torrentName: The Regime S01E03 1080p AMZN WEB-DL DD+ 5.1 H.264-FLUX + torrentSize: 4.14 GiB + uploader: oppie + baseUrl: https://fearnopeer.com/ + torrentId: "54321" + pattern: '.*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(.*)\].*\[(https?\:\/\/.*?\/).*\/(\d+)\]' + vars: + - category + - releaseTags + - torrentName + - torrentSize + - uploader + - baseUrl + - torrentId + + match: + infourl: "/torrents/{{ .torrentId }}" + torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"