feat(indexers): add SceneHD (#440)

This commit is contained in:
ze0s 2022-08-31 15:53:05 +02:00 committed by GitHub
parent 7b1f8a4668
commit 43d6ac66e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,62 @@
---
#id: scenehd
name: SceneHD
identifier: scenehd
description: SceneHD (SCHD) is a private torrent tracker for HD MOVIES / TV.
language: en-us
urls:
- https://scenehd.org
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: passkey
type: secret
label: Passkey
help: "Go to https://scenehd.org/getrss.php and extract your Passkey"
irc:
network: SceneHD
server: irc.scenehd.eu
port: 6697
tls: true
channels:
- "#announce"
announcers:
- SceneHD
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user_bot
- name: nickserv.password
type: secret
required: false
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "SceneHD .invite <IRC_KEY> #annnonce"
required: true
label: Invite command
help: Invite auth with SceneHD. Replace <IRC_KEY> with your IRC key
parse:
type: single
lines:
- test:
- "[NEW] Some.Show.S08E20.EXTENDED.720p.BluRay.X264-GROUP [TV/720] https://scenehd.org/details.php?id=00000"
pattern: "\[NEW] (.*) \[([^\]]+)] (https?\:\/\/[^\/]+)\/.*[&\?]id=(\d+)"
vars:
- torrentName
- category
- baseUrl
- torrentId
match:
torrenturl: "{{ .baseUrl }}/download.php?id={{ .torrentId }}&passkey={{ .passkey }}"