Indexers: Add TD, MTV, TS and Milkie (#45)

* feat: add Milkie definition

* feat: add TorrentDay definition

* feat: add MoreThanTV definition

* feat: add TorrentSeeds definition

Co-authored-by: Ludvig Lundgren <hello@ludviglundgren.se>
This commit is contained in:
GregTroar 2021-12-23 23:34:49 +01:00 committed by GitHub
parent 5e29564f03
commit 35d3817bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,60 @@
---
#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
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: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. username_autodl
- name: nickserv.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
- size
match:
torrenturl: "{{ .baseUrl }}/download.php/{{ .torrentId }}/{{ .torrentName }}.torrent?torrent_pass={{ .passkey }}"
encode:
- torrentName