autobrr/internal/indexer/definitions/hebits.yaml
ze0s 4bf023d030
feat(irc): support optional SASL and NickServ auth (#511)
* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): add validation

* feat(indexers): unify and set required values

* feat(irc): add postgres migrations

* feat(irc): use nick as handlerkey

* feat(irc): use account for nickserv

* fix(irc): pg db migration
2022-10-27 22:25:58 +02:00

88 lines
2.7 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
required: true
label: PassKey
help: Right click download on a torrent and get the passkey.
- name: authkey
type: secret
required: true
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: nick
type: text
required: true
label: Nick
help: "Bot nick. Make sure you follow the naming scheme: username|bot"
- name: auth.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your main user and bot.
- name: auth.password
type: secret
required: true
label: NickServ Password
help: NickServ password
- 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 }}"