autobrr/internal/indexer/definitions/hdb.yaml
martylukyy 5b7268da22
feat(indexers): add HDB parse Exclusive as tag (#1969)
feat(indexers): add HDB "Exclusive" as tag
2025-02-13 20:40:12 +01:00

131 lines
4.4 KiB
YAML

---
#id: hdb
name: HDBits
identifier: hdb
description: Private HD tracker
language: en-us
urls:
- https://hdbits.org/
privacy: private
protocol: torrent
supports:
- irc
- rss
# source: custom
settings:
- name: passkey
type: secret
required: true
label: Passkey
help: Copy the passkey from your profile page
irc:
network: P2P-Network
server: irc.p2p-network.net
port: 6697
tls: true
channels:
- "#hdbits.announce"
announcers:
- midgards
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
- name: invite_command
type: secret
default: "midgards announce IRCKEY"
required: true
label: Invite command
help: Invite auth with the key from https://hdbits.org/bot_invite.php. Replace IRCKEY.
parse:
type: single
lines:
- tests:
- line: 'New Torrent: Clockers 1995 1080p Blu-ray AVC DTS-HD MA 5.1-Anonymous - Type: Movie (H.264, Blu-ray/HD DVD) - Uploaded by: Anonymous - Size: 37.61 GiB - https://hdbits.org/details.php?id=12345&hit=1'
expect:
torrentName: Clockers 1995 1080p Blu-ray AVC DTS-HD MA 5.1-Anonymous
category: Movie
releaseTags: H.264, Blu-ray/HD DVD
origin: ""
tags: ""
uploader: Anonymous
torrentSize: 37.61 GiB
baseUrl: https://hdbits.org/
torrentId: "12345"
- line: 'New Torrent: PilotsEYE tv: QUITO 2014 1080p Blu-ray AVC DD 2.0 - Type: Documentary (H.264, Blu-ray/HD DVD) - Uploaded by: Anonymous - Size: 23.14 GiB - https://hdbits.org/details.php?id=12345&hit=1'
expect:
torrentName: 'PilotsEYE tv: QUITO 2014 1080p Blu-ray AVC DD 2.0'
category: Documentary
releaseTags: H.264, Blu-ray/HD DVD
tags: ""
origin: ""
uploader: Anonymous
torrentSize: 23.14 GiB
baseUrl: https://hdbits.org/
torrentId: "12345"
- line: 'New Torrent: Xiao Q 2019 720p BluRay DD-EX 5.1 x264-Anonymous - Type: Movie (H.264, Encode) Internal! - Uploaded by: Anonymous - Size: 4.54 GiB - https://hdbits.org/details.php?id=12345&hit=1'
expect:
torrentName: Xiao Q 2019 720p BluRay DD-EX 5.1 x264-Anonymous
category: Movie
releaseTags: H.264, Encode
tags: ""
origin: Internal
uploader: Anonymous
torrentSize: 4.54 GiB
baseUrl: https://hdbits.org/
torrentId: "12345"
- line: 'New Torrent: The Gentlemen 2019 UHD Blu-ray English TrueHD 7.1 - Type: Audio Track - Uploaded by: Anonymous - Size: 3.19 GiB - https://hdbits.org/details.php?id=519896&hit=1'
expect:
torrentName: The Gentlemen 2019 UHD Blu-ray English TrueHD 7.1
category: Audio Track
releaseTags: ""
tags: ""
origin: ""
uploader: Anonymous
torrentSize: 3.19 GiB
baseUrl: https://hdbits.org/
torrentId: "519896"
- line: 'New Torrent: That Movie 1983 1080p GBR Blu-ray AVC DTS-HD MA 1.0-GROUP - Type: Movie (H.264, Blu-ray/HD DVD) Exclusive! - Uploaded by: anon - Size: 29.55 GiB - https://hdbits.org/details.php?id=000000&hit=1'
expect:
torrentName: That Movie 1983 1080p GBR Blu-ray AVC DTS-HD MA 1.0-GROUP
category: Movie
releaseTags: H.264, Blu-ray/HD DVD
tags: Exclusive
origin: ""
uploader: anon
torrentSize: 29.55 GiB
baseUrl: https://hdbits.org/
torrentId: "000000"
pattern: 'New Torrent: (.+) - Type: (.+?) (?:\((.+)\))?\s?(?:(Exclusive)?(Internal)?!)?\s?- Uploaded by: (.+) - Size: (.+) - (https:\/\/.+?\/).+id=(\d+)'
vars:
- torrentName
- category
- releaseTags
- tags
- origin
- uploader
- torrentSize
- baseUrl
- torrentId
match:
infourl: "/details.php?id={{ .torrentId }}"
torrenturl: "/download.php?id={{ .torrentId }}&passkey={{ .passkey }}"