diff --git a/internal/indexer/definitions/scenehd.yaml b/internal/indexer/definitions/scenehd.yaml new file mode 100644 index 0000000..7254317 --- /dev/null +++ b/internal/indexer/definitions/scenehd.yaml @@ -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 #annnonce" + required: true + label: Invite command + help: Invite auth with SceneHD. Replace 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 }}"