mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(indexers): add RocketHD (#1998)
* feat(indexers): add RocketHD * feat(indexers): change language to de-DE * feat(indexers): add channel password field --------- Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
parent
570c7971a4
commit
3f04b9c5b3
1 changed files with 90 additions and 0 deletions
90
internal/indexer/definitions/rocket-hd.yaml
Normal file
90
internal/indexer/definitions/rocket-hd.yaml
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
---
|
||||||
|
#id: rocket-hd
|
||||||
|
name: RocketHD
|
||||||
|
identifier: rocket-hd
|
||||||
|
description: RocketHD (RHD) is a GERMAN private torrent tracker for MOVIES / TV
|
||||||
|
language: de-DE
|
||||||
|
urls:
|
||||||
|
- https://rocket-hd.cc/
|
||||||
|
privacy: private
|
||||||
|
protocol: torrent
|
||||||
|
supports:
|
||||||
|
- irc
|
||||||
|
- rss
|
||||||
|
# source: UNIT3D
|
||||||
|
settings:
|
||||||
|
- name: rsskey
|
||||||
|
type: secret
|
||||||
|
required: true
|
||||||
|
label: RSS key (RID)
|
||||||
|
help: "Go to My Settings > RSS Key, and copy your RSS Key"
|
||||||
|
|
||||||
|
irc:
|
||||||
|
network: RocketNET
|
||||||
|
server: irc.rocket-hd.cc
|
||||||
|
port: 6697
|
||||||
|
tls: true
|
||||||
|
channels:
|
||||||
|
- "#announce"
|
||||||
|
announcers:
|
||||||
|
- RocketMan
|
||||||
|
settings:
|
||||||
|
- name: nick
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: Nick
|
||||||
|
help: Bot nick. Eg. user-bot
|
||||||
|
|
||||||
|
- 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: channels.password
|
||||||
|
type: secret
|
||||||
|
required: true
|
||||||
|
label: Channel Password
|
||||||
|
help: Channel password
|
||||||
|
|
||||||
|
parse:
|
||||||
|
type: single
|
||||||
|
lines:
|
||||||
|
- tests:
|
||||||
|
- line: "New Upload Category: [TV] Type: [WEB-DL] Name: [Die Scharfschuetzen S01 German 1080p WEB-DL H.264-AIDA] Size: [67.15 GiB] Uploader: [Anonym] Url: [https://rocket-hd.cc/torrents/00]"
|
||||||
|
expect:
|
||||||
|
category: TV
|
||||||
|
releaseTags: WEB-DL
|
||||||
|
torrentName: Die Scharfschuetzen S01 German 1080p WEB-DL H.264-AIDA
|
||||||
|
torrentSize: 67.15 GiB
|
||||||
|
uploader: Anonym
|
||||||
|
baseUrl: https://rocket-hd.cc/
|
||||||
|
torrentId: "00"
|
||||||
|
- line: "New Upload Category: [Movies] Type: [Encode] Name: [Ju On 2 2003 GERMAN DL 1080p BluRay x264-WATCHABLE] Size: [7.42 GiB] Uploader: [fritz47] Url: [https://rocket-hd.cc/torrents/00]"
|
||||||
|
expect:
|
||||||
|
category: Movies
|
||||||
|
releaseTags: Encode
|
||||||
|
torrentName: Ju On 2 2003 GERMAN DL 1080p BluRay x264-WATCHABLE
|
||||||
|
torrentSize: 7.42 GiB
|
||||||
|
uploader: fritz47
|
||||||
|
baseUrl: https://rocket-hd.cc/
|
||||||
|
torrentId: "00"
|
||||||
|
pattern: 'New Upload Category: \[(.+)\] Type: \[(.+)\] Name: \[(.+?)\] Size: \[(.+)\] Uploader: \[(.+)\] Url: \[(https?\:\/\/.+\/).+\/(\d+)\]'
|
||||||
|
vars:
|
||||||
|
- category
|
||||||
|
- releaseTags
|
||||||
|
- torrentName
|
||||||
|
- torrentSize
|
||||||
|
- uploader
|
||||||
|
- baseUrl
|
||||||
|
- torrentId
|
||||||
|
|
||||||
|
match:
|
||||||
|
infourl: "/torrents/{{ .torrentId }}"
|
||||||
|
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"
|
Loading…
Add table
Add a link
Reference in a new issue