autobrr/internal/indexer/definitions/Hebits.yaml
SweetMNM 0195e2e8b3
feat(indexers): add Hebits (#402)
* Add Hebits indexer

* add hebits irc tests
2022-08-11 19:53:28 +02:00

77 lines
2.6 KiB
YAML

---
name: Hebits
identifier: hebits
description: Hebits is a private Israeli tracker
language: he-il
urls:
- https://hebits.net/
privacy: private
protocol: torrent
supports:
- irc
source: gazelle
settings:
- name: passkey
type: secret
label: PassKey
help: Right click download on a torrent and get the passkey.
- name: authkey
type: secret
label: Auth key
help: Right click download on a torrent and get the authkey.
irc:
network: Hebits
server: irc.hebits.net
port: 6697
tls: true
channels:
- "#Announce"
announcers:
- HeBoT
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: "NickServ account name. Make sure you follow the naming scheme: HebitsNickname|bot"
- name: nickserv.password
type: secret
required: true
label: NickServ Password
help: A password of your choice to be used for the bot identification. Save it!
- name: invite_command
type: secret
default: "HeBoT !invite IRCKey"
required: true
label: Invite command
help: "Replace IRCKey with: Edit Profile -> Access Settings -> IRC Key"
parse:
type: multi
lines:
- test:
- "New: (מה שקורה בצללים - עונה 4, פרק 3 / What We Do in the Shadows - S04E03 *היידפנישן*) Category: סדרות - HD Size: 825.43 MiB Seeders: 0 Leechers: 0"
- "New: (לגו מלחמת הכוכבים: חופשת קיץ / LEGO Star Wars Summer Vacation *היידפנישן*) Category: סרטים - HD Size: 1.02 GiB Seeders: 0 Leechers: 0"
- "New: (תמונות מחיי נישואין - עונה 1 / Scenes from a Marriage (US) - S01 *היידפנישן מלא*) Category: סדרות - HD מלא Size: 18.61 GiB Seeders: 0 Leechers: 0"
pattern: '^New: \((.*)\) Category: (.*) Size: ([\d\.,]+ \w+) Seeders: .+ Leechers: .+'
vars:
- name1
- category
- torrentSize
- test:
- "Link: https://hebits.net/torrents.php?torrentid=80081"
pattern: '^Link: https?\:\/\/?[w{3}.]*([^\/]+).*(?:&|\?)torrentid=(\d+)'
vars:
- baseUrl
- torrentId
- test:
- "Release: What.We.Do.in.the.Shadows.S04E03.The.Grand.Opening.720p.AMZN.WEB.DL.DDP5.1.H.264-FLUX"
- "Release: LEGO.Star.Wars.Summer.Vacation.2022.720p.WEB-DL.H.264.HebDub-iSrael"
- "Release: Scenes.From.a.Marriage.US.S01.1080p.AMZN.WEB-DL.DDP5.1.H.264-FLUX"
pattern: "^Release: (.*)"
vars:
- torrentName
match:
torrenturl: "https://{{ .baseUrl }}/torrents.php?action=download&id={{ .torrentId }}&authkey={{ .authkey }}&torrent_pass={{ .passkey }}"