mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00

* feat(indexers): revert UHDBits regex pattern * feat(indexers): add more tests * feat(indexers): capture year and group
116 lines
3.6 KiB
YAML
116 lines
3.6 KiB
YAML
---
|
|
#id: uhd
|
|
name: UHDBits
|
|
identifier: uhdbits
|
|
description: UHDBits (UHD) is a private torrent tracker for HD MOVIES / TV
|
|
language: en-us
|
|
urls:
|
|
- https://uhdbits.org/
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
# source: gazelle
|
|
settings:
|
|
- name: authkey
|
|
type: secret
|
|
required: true
|
|
label: Auth key
|
|
help: Right click DL on a torrent and get the authkey.
|
|
|
|
- name: torrent_pass
|
|
type: secret
|
|
required: true
|
|
label: Torrent pass
|
|
help: Right click DL on a torrent and get the torrent_pass.
|
|
|
|
irc:
|
|
network: P2P-Network
|
|
server: irc.p2p-network.net
|
|
port: 6697
|
|
tls: true
|
|
channels:
|
|
- "#UHD.Announce"
|
|
announcers:
|
|
- UHDBot
|
|
- cr0nusbot
|
|
- uhdAnnounceBot
|
|
settings:
|
|
- name: nick
|
|
type: text
|
|
required: true
|
|
label: Nick
|
|
help: Bot nick. Eg. user|autodl
|
|
|
|
- name: auth.account
|
|
type: text
|
|
required: true
|
|
label: NickServ Account
|
|
help: NickServ account. Make sure to group your user and bot.
|
|
|
|
- name: auth.password
|
|
type: secret
|
|
required: true
|
|
label: NickServ Password
|
|
help: NickServ password
|
|
|
|
- name: invite_command
|
|
type: secret
|
|
default: "UHDBot invite IRCKEY"
|
|
required: true
|
|
label: Invite command
|
|
help: Invite auth with UHDBot. Replace IRCKEY.
|
|
|
|
parse:
|
|
type: single
|
|
lines:
|
|
- tests:
|
|
- line: 'New Torrent: Final Destination: Bloodlines [2025] - GROUP Type: Movie / 1080p / WEB-DL / Freeleech: 100 Size: 4.28GB - https://uhdbits.org/torrents.php?id=00000 / https://uhdbits.org/torrents.php?action=download&id=00000'
|
|
expect:
|
|
torrentName: 'Final Destination: Bloodlines'
|
|
year: 2025
|
|
releaseGroup: GROUP
|
|
category: Movie
|
|
releaseTags: 1080p / WEB-DL
|
|
freeleechPercent: 100
|
|
torrentSize: 4.28GB
|
|
baseUrl: https://uhdbits.org/
|
|
torrentId: "00000"
|
|
- line: 'New Torrent: Dandadan Season 01 [2024] - GROUP Type: TV / 1080p / Blu-ray / Freeleech: 100 Size: 90.68GB - https://uhdbits.org/torrents.php?id=00000 / https://uhdbits.org/torrents.php?action=download&id=00000'
|
|
expect:
|
|
torrentName: 'Dandadan Season 01'
|
|
year: 2024
|
|
releaseGroup: GROUP
|
|
category: TV
|
|
releaseTags: 1080p / Blu-ray
|
|
freeleechPercent: 100
|
|
torrentSize: 90.68GB
|
|
baseUrl: https://uhdbits.org/
|
|
torrentId: "00000"
|
|
- line: 'New Torrent: Load (Remastered Deluxe Box Set) [1996] Type: Music / CD / Freeleech: 100 Size: 14.16GB - https://uhdbits.org/torrents.php?id=00000 / https://uhdbits.org/torrents.php?action=download&id=00000'
|
|
expect:
|
|
torrentName: 'Load (Remastered Deluxe Box Set)'
|
|
year: 1996
|
|
releaseGroup: ""
|
|
category: Music
|
|
releaseTags: CD
|
|
freeleechPercent: 100
|
|
torrentSize: 14.16GB
|
|
baseUrl: https://uhdbits.org/
|
|
torrentId: "00000"
|
|
pattern: 'New Torrent: (.+?) \[(\d{4})\](?: - (.*) )?\s*Type: (.+?) \/ (.*?)[\s\/]+? Freeleech: (.+) Size: (.+) - https?:\/\/.+ \/ (https?:\/\/.+\/).+id=(\d+)'
|
|
vars:
|
|
- torrentName
|
|
- year
|
|
- releaseGroup
|
|
- category
|
|
- releaseTags
|
|
- freeleechPercent
|
|
- torrentSize
|
|
- baseUrl
|
|
- torrentId
|
|
|
|
match:
|
|
infourl: "/torrents.php?torrentid={{ .torrentId }}"
|
|
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .torrent_pass }}"
|