mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
Indexers: Add TorrentDb (#97)
* feat(indexers): add torrentdb * docs: add torrentdb to supported indexers
This commit is contained in:
parent
b91984e28e
commit
9b34ebc4a7
2 changed files with 60 additions and 0 deletions
|
@ -42,6 +42,7 @@ Is your tracker missing? Add an issue to request it.
|
||||||
* RED
|
* RED
|
||||||
* Superbits
|
* Superbits
|
||||||
* TorrentDay
|
* TorrentDay
|
||||||
|
* TorrentDB
|
||||||
* TorrentLeech
|
* TorrentLeech
|
||||||
* TorrentSeeds
|
* TorrentSeeds
|
||||||
* TranceTraffic
|
* TranceTraffic
|
||||||
|
|
59
internal/indexer/definitions/torrentdb.yaml
Normal file
59
internal/indexer/definitions/torrentdb.yaml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
---
|
||||||
|
#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 }}"
|
Loading…
Add table
Add a link
Reference in a new issue