autobrr/internal/indexer/definitions/torrentdb.yaml
GregTroar 9b34ebc4a7
Indexers: Add TorrentDb (#97)
* feat(indexers): add torrentdb

* docs: add torrentdb to supported indexers
2022-01-23 13:55:04 +01:00

59 lines
1.7 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
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: 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
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: "{{ .baseUrl }}torrent/download/irssi/{{ .torrentId }}/{{ .passkey }}"