From fe8419f1cbc0bc3dd2c4cad4da2086a3167dce03 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Wed, 25 May 2022 03:13:26 -0700 Subject: [PATCH] feat(indexers): add bit-hdtv (#283) * indexers: add bit-hdtv * bit-hdtv: update bot name. --- internal/indexer/definitions/bit-hdtv.yaml | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 internal/indexer/definitions/bit-hdtv.yaml diff --git a/internal/indexer/definitions/bit-hdtv.yaml b/internal/indexer/definitions/bit-hdtv.yaml new file mode 100644 index 0000000..3707b4a --- /dev/null +++ b/internal/indexer/definitions/bit-hdtv.yaml @@ -0,0 +1,58 @@ +--- +#id: tracker68 +name: BIT-HDTV +identifier: bithdtv +description: Bit-HDTV (BHDTV) is a specialized HD tracker in movies and TV with so many daily uploads. +language: en-us +urls: + - https://www.bit-hdtv.com +privacy: private +protocol: torrent +supports: + - irc + - rss +source: custom +settings: + - name: passkey + type: secret + label: Pass key + help: "Your passkey" + regex: /([\da-z]{32}) + +irc: + network: P2P-Network + server: irc.p2p-network.net + port: 6697 + tls: true + channels: + - "#bit-hdtv" + announcers: + - BHD-bot + 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: + - "New torrent: Fear.the.walking.bee.s01e01.720p.WEB.h264-lemoncakes | Cat.: TV | WEB-DL | 720p | Uploader: ze0s | https://www.bit-hdtv.com/details.php?id=448412837123" + - "New torrent: Y.r.u.there.2022.1080p.BluRay.DDP5.1.x264-egg | Cat.: Movies | Encode x264 | 1080p | Uploader: Anonymous | https://www.bit-hdtv.com/details.php?id=69" + pattern: 'New torrent: (.*) \|\s*Cat.: ([^\|]*) \| .* Uploader: (.*) \| (https?\:\/\/[^\/]+).*id=(\d+)' + vars: + - torrentName + - category + - uploader + - baseUrl + - torrentId + + match: + torrenturl: "{{ .baseUrl }}/rssdownload.php?id={{ .torrentId }}&passkey={{ .passkey }}"