Indexers: Add TorrentDb (#97)

* feat(indexers): add torrentdb

* docs: add torrentdb to supported indexers
This commit is contained in:
GregTroar 2022-01-23 19:55:04 +07:00 committed by GitHub
parent b91984e28e
commit 9b34ebc4a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View file

@ -42,6 +42,7 @@ Is your tracker missing? Add an issue to request it.
* RED
* Superbits
* TorrentDay
* TorrentDB
* TorrentLeech
* TorrentSeeds
* TranceTraffic

View 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 }}"