From dbabb26b835950cac14cbf69ce6ba52558bb1b57 Mon Sep 17 00:00:00 2001 From: ze0s <43699394+zze0s@users.noreply.github.com> Date: Tue, 18 Oct 2022 21:25:26 +0200 Subject: [PATCH] feat(indexers): add Enthralled (#504) --- internal/indexer/definitions/enthralled.yaml | 61 ++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 internal/indexer/definitions/enthralled.yaml diff --git a/internal/indexer/definitions/enthralled.yaml b/internal/indexer/definitions/enthralled.yaml new file mode 100644 index 0000000..703ffc8 --- /dev/null +++ b/internal/indexer/definitions/enthralled.yaml @@ -0,0 +1,61 @@ +--- +#id: enthralled +name: Enthralled +identifier: enthralled +description: Enthralled (ENT) is a private torrent tracker for XXX +language: en-us +urls: + - https://enthralled.me +privacy: private +protocol: torrent +supports: + - irc + - rss +source: gazelle +settings: + - name: authkey + type: secret + label: Auth key + help: Right click DL on a torrent and get the authkey. + - name: torrent_pass + type: secret + label: Torrent pass + help: Right click DL on a torrent and get the torrent_pass. + +irc: + network: DigitalIRC + server: irc.enthralled.me + port: 6697 + tls: true + channels: + - "#enthralled-announce" + announcers: + - TheGimp + settings: + - name: nickserv.account + type: text + required: true + label: NickServ Account + help: NickServ account. Make sure to group your user and bot. Eg. user|bot + - name: nickserv.password + type: secret + required: true + label: NickServ Password + help: NickServ password + +parse: + type: single + lines: + - test: + - "Some release - Size: 559.06 MiB - Uploader: anon - Tags: worship,other - https://www.enthralled.me/torrents.php?torrentid=0000" + pattern: '(.*) - Size: (.*) - Uploader: (.*) - Tags: (.*?) - (https://.*)/torrents.php\?torrentid=(.*)' + vars: + - torrentName + - torrentSize + - uploader + - tags + - baseUrl + - torrentId + + match: + torrenturl: "{{ .baseUrl }}/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"