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

* feat(indexers): optional baseurl override * feat(indexers): update baseUrl parsing * refactor(indexers): BREAKING move parse to IRC struct * Move Parse as part of IRC struct from Indexer * Updated definitions * Build torrentUrl in stages * Use new url.JoinPath to build torrentUrl * Update tests * refactor(indexers): select option obj * refactor(indexers): make backwards compatible
67 lines
1.8 KiB
YAML
67 lines
1.8 KiB
YAML
---
|
|
#id: TorrentSeeds
|
|
name: TorrentDB
|
|
identifier: torrentdb
|
|
description: TorrentDB (TDB) is a new Movies / General release tracker.
|
|
language: en-us
|
|
urls:
|
|
- https://torrentdb.net/
|
|
privacy: private
|
|
protocol: torrent
|
|
supports:
|
|
- irc
|
|
- rss
|
|
source: custom
|
|
settings:
|
|
- name: passkey
|
|
type: secret
|
|
required: true
|
|
label: Passkey
|
|
help: "Go to your profile and copy the PID (passkey)"
|
|
|
|
irc:
|
|
network: TorrentDB
|
|
server: irc.torrentdb.net
|
|
port: 6697
|
|
tls: true
|
|
channels:
|
|
- "#announce"
|
|
announcers:
|
|
- TDBot
|
|
settings:
|
|
- name: nick
|
|
type: text
|
|
required: true
|
|
label: Nick
|
|
help: Bot nick. Eg. user_bot
|
|
|
|
- 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:
|
|
- "New Torrent Announcement: <TV : Pack> Name:'That Show S01-S06 COMPLETE 1080p BluRay DD5 1 (With Commentary) x265-GROUP' Size:'42.92 GB' Freeleech Uploaded by:'Anonymous Uploader' - https://torrentdb.net/torrent/that-show-s01-s06-complete-1080p-bluray-dd5-1-with-commentary-x265-group"
|
|
- "New Torrent Announcement: <Games : PC> Name:'Small Game + All DLCs-GROUP2' Size:'2.65 GB' Uploaded by:'uploader1' - https://torrentdb.net/torrent/small-game-all-dlcs-group2"
|
|
pattern: "^New Torrent Announcement: <(.*)> Name:'(.*?)' Size:'(.*?)' ?(Freeleech)? Uploaded by:'(.*)' - (https.*)torrent.(.*)$"
|
|
vars:
|
|
- category
|
|
- torrentName
|
|
- torrentSize
|
|
- freeleech
|
|
- uploader
|
|
- baseUrl
|
|
- torrentId
|
|
|
|
match:
|
|
torrenturl: "/torrent/download/irssi/{{ .torrentId }}/{{ .passkey }}"
|