From cecdda2ed902f68c33657c1424a378bfecade655 Mon Sep 17 00:00:00 2001 From: Mavyre Date: Sun, 4 Jun 2023 16:18:08 +0200 Subject: [PATCH] feat(indexers): add Sharewood (#968) * Add Sharewood indexer * Changed Passkey help sharewood.yaml Co-authored-by: soup * Update sharewood.yaml Added help about incompatible SASL default authentication --------- Co-authored-by: soup --- internal/indexer/definitions/sharewood.yaml | 69 +++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 internal/indexer/definitions/sharewood.yaml diff --git a/internal/indexer/definitions/sharewood.yaml b/internal/indexer/definitions/sharewood.yaml new file mode 100644 index 0000000..7753666 --- /dev/null +++ b/internal/indexer/definitions/sharewood.yaml @@ -0,0 +1,69 @@ +--- +name: Sharewood +identifier: sharewood +description: Sharewood (Sw) is a Private French Torrent Tracker for MOVIES / TV / GENERAL +language: fr-fr +urls: + - https://www.sharewood.tv/ +privacy: private +protocol: torrent +supports: + - irc + - rss +source: custom +settings: + - name: passkey + type: secret + required: true + label: Passkey + help: "Go to My Profile, then click on Show Passkey" + +irc: + network: HiddenForest + server: irc.hiddenforest.ml + port: 7000 + tls: true + channels: + - "#rss" + announcers: + - Lana + settings: + - name: nick + type: text + required: true + label: Nick + help: Bot nick. Eg. user_bot + + - name: auth.account + type: text + required: false + label: NickServ Account + help: NickServ account. Make sure to group your user and bot. Change Mechanism from SASL to NickServ in IRC settings. + + - name: auth.password + type: secret + required: false + label: NickServ Password + help: NickServ password + + parse: + type: single + lines: + - test: + - "Vidéos | La Brea S02E08 MULTi 1080p WEB x264-FW | 1.27 GiB | 1080p/i " + - "Vidéos | Le Griffon S01 FRENCH 2160p WEBRip AMZ HDR x265 10bits EAC3 5.1-Amen | 11.08 GiB | 2160p " + - "Audios | Molly Hatchet - Southern Rock Masters (2008) - Flac 16-44 | 402.07 MiB | " + - "Ebooks | Edgar Allan Poe - Nouvelles integrales - 2018-2019 - FRENCH - EPUB | 2.39 MiB | " + pattern: '(.+) \| (.+) \| (.+) \| (.*?) ?<(https?:\/\/.+\/)(.+)\.(\d+)>' + vars: + - category + - torrentName + - torrentSize + - resolution + - baseUrl + - torrentSlug + - torrentId + + match: + infourl: "/torrents/{{ .torrentSlug }}.{{ .torrentId }}" + torrenturl: "/api/{{ .passkey }}/{{ .torrentId }}/download"