mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
Indexers: Add TranceTraffic (#47)
This commit is contained in:
parent
35d3817bd4
commit
9b4ea21885
1 changed files with 73 additions and 0 deletions
73
internal/indexer/definitions/trancetraffic.yaml
Normal file
73
internal/indexer/definitions/trancetraffic.yaml
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
---
|
||||||
|
#id: trancetraffic
|
||||||
|
name: TranceTraffic
|
||||||
|
identifier: trancetraffic
|
||||||
|
description: TranceTraffic is a Private site for MUSIC
|
||||||
|
language: en-us
|
||||||
|
urls:
|
||||||
|
- https://trancetraffic.com/
|
||||||
|
privacy: private
|
||||||
|
protocol: torrent
|
||||||
|
supports:
|
||||||
|
- irc
|
||||||
|
- rss
|
||||||
|
source: unknown
|
||||||
|
settings:
|
||||||
|
- name: passkey
|
||||||
|
type: secret
|
||||||
|
label: Passkey
|
||||||
|
help: "Go to https://www.trancetraffic.com/links.php, click on RSS Feed and copy your passkey from the url."
|
||||||
|
|
||||||
|
irc:
|
||||||
|
network: P2P-NET
|
||||||
|
server: irc.p2p-network.net
|
||||||
|
port: 6697
|
||||||
|
tls: true
|
||||||
|
channels:
|
||||||
|
- "#trancetraffic"
|
||||||
|
announcers:
|
||||||
|
- TranceTraffic
|
||||||
|
settings:
|
||||||
|
- name: nickserv.account
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: NickServ Account
|
||||||
|
help: NickServ account. Make sure to group your user and bot. Eg. user|autodl
|
||||||
|
- name: nickserv.password
|
||||||
|
type: secret
|
||||||
|
required: false
|
||||||
|
label: NickServ Password
|
||||||
|
help: NickServ password
|
||||||
|
|
||||||
|
parse:
|
||||||
|
type: multi
|
||||||
|
lines:
|
||||||
|
- test:
|
||||||
|
- "New Torrent Uploaded:"
|
||||||
|
pattern: '^New Torrent Uploaded:'
|
||||||
|
- test:
|
||||||
|
- "Name....: That Artist - Good Album-SAT-01-30-2021-GROUP"
|
||||||
|
pattern: '^Name\.*:\s*(.*)'
|
||||||
|
vars:
|
||||||
|
- torrentName
|
||||||
|
- test:
|
||||||
|
- "Uploader: anon"
|
||||||
|
pattern: '^Uploader\.*:\s*(.*)'
|
||||||
|
vars:
|
||||||
|
- uploader
|
||||||
|
- test:
|
||||||
|
- "Category: Livesets - House"
|
||||||
|
pattern: '^Category\.*:\s*(.*)'
|
||||||
|
vars:
|
||||||
|
- category
|
||||||
|
- test:
|
||||||
|
- "URL.....: https://www.trancetraffic.com/details.php?id=000000&hit=1"
|
||||||
|
pattern: '^URL\.*:\s*(https?\:\/\/[^\/]+\/).*[&\?]id=(\d+)'
|
||||||
|
vars:
|
||||||
|
- baseUrl
|
||||||
|
- torrentId
|
||||||
|
|
||||||
|
match:
|
||||||
|
torrenturl: "{{ .baseUrl }}download.php/{{ .torrentId }}/{{ .torrentName }}.torrent?passkey={{ .passkey }}"
|
||||||
|
encode:
|
||||||
|
- torrentName
|
Loading…
Add table
Add a link
Reference in a new issue