mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00

* 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
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
---
|
|
#id: torrentday
|
|
name: TorrentDay
|
|
identifier: torrentday
|
|
description: TorrentDay (TD) is a private torrent tracker for GENERAL.
|
|
language: en-us
|
|
urls:
|
|
- https://www.torrentday.com
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
source: custom
|
|
settings:
|
|
- name: passkey
|
|
type: secret
|
|
required: true
|
|
label: Passkey
|
|
help: "Create a RSS Link to find out your PASSKEY"
|
|
|
|
irc:
|
|
network: TorrentDay
|
|
server: irc.torrentday.com
|
|
port: 6697
|
|
tls: true
|
|
channels:
|
|
- "#td.announce"
|
|
announcers:
|
|
- TD_Announce
|
|
settings:
|
|
- name: nick
|
|
type: text
|
|
required: true
|
|
label: Nick
|
|
help: Bot nick. Eg. user_autodl
|
|
|
|
- name: auth.account
|
|
type: text
|
|
required: false
|
|
label: NickServ Account
|
|
help: NickServ account. Make sure to group your user and bot.
|
|
|
|
- name: auth.password
|
|
type: secret
|
|
required: false
|
|
label: NickServ Password
|
|
help: NickServ password
|
|
|
|
parse:
|
|
type: single
|
|
lines:
|
|
- test:
|
|
- "[Movie/4K] This is a Movie 2160p UHD BluRay x265-TEST - https://www.torrentday.com/details.php?id=0000000 - 5.83 GB"
|
|
- "[Movie/4K] This is a Movie 2160p UHD BluRay x265-TEST FREELEECH - https://www.torrentday.com/details.php?id=0000000 - 5.83 GB"
|
|
pattern: '\[([^\]]*)] (.*?)\s*(FREELEECH)*\s*-\s+(https?\:\/\/[^\/]+).*[&\?]id=(\d+)\s*- (.*)'
|
|
vars:
|
|
- category
|
|
- torrentName
|
|
- freeleech
|
|
- baseUrl
|
|
- torrentId
|
|
- torrentSize
|
|
|
|
match:
|
|
torrenturl: "{{ .baseUrl }}/download.php/{{ .torrentId }}/{{ .torrentName }}.torrent?torrent_pass={{ .passkey }}"
|
|
encode:
|
|
- torrentName
|