Created the managarr demo docker-compose and quickstart script
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
---
|
||||
id: proaudiotorrents
|
||||
name: ProAudioTorrents
|
||||
description: "ProAudioTorrents (PAT) is a Private Torrent Tracker for AUDIO SOFTWARE / SAMPLES / TUTORIALS / ETC"
|
||||
language: en-US
|
||||
type: private
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://proaudiotorrents.org/
|
||||
legacylinks:
|
||||
- http://proaudiotorrents.org/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 24, cat: PC/0day, desc: "DJ Applications"}
|
||||
- {id: 3, cat: Books/EBook, desc: "Ebooks"}
|
||||
- {id: 4, cat: PC, desc: "Expansions & Addons"}
|
||||
- {id: 5, cat: PC, desc: "HYBRID PC/MAC"}
|
||||
- {id: 26, cat: Other, desc: "Independent"}
|
||||
- {id: 19, cat: PC, desc: "Linux Plugins"}
|
||||
- {id: 2, cat: PC/Mac, desc: "Mac Audio Apps"}
|
||||
- {id: 15, cat: PC/Mac, desc: "Mac Updates"}
|
||||
- {id: 22, cat: PC/Mac, desc: "Mac VST Fx"}
|
||||
- {id: 21, cat: PC/Mac, desc: "Mac VST Instrument"}
|
||||
- {id: 6, cat: Other/Misc, desc: "Misc / Other"}
|
||||
- {id: 20, cat: TV/Documentary, desc: "Music Documentary"}
|
||||
- {id: 18, cat: TV/Documentary, desc: "Musical Training"}
|
||||
- {id: 1, cat: PC/0day, desc: "PC Audio Apps"}
|
||||
- {id: 14, cat: PC/0day, desc: "PC Updates"}
|
||||
- {id: 16, cat: Other, desc: "Refills"}
|
||||
- {id: 7, cat: PC, desc: "RTAS"}
|
||||
- {id: 8, cat: Audio, desc: "Samples / Libraries"}
|
||||
- {id: 12, cat: Audio, desc: "SFX"}
|
||||
- {id: 9, cat: TV/Documentary, desc: "Software Tutorials"}
|
||||
- {id: 11, cat: PC, desc: "VST Instruments"}
|
||||
- {id: 13, cat: PC, desc: "VST Plug-ins"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: added
|
||||
options:
|
||||
added: created
|
||||
seeders: seeders
|
||||
size: size
|
||||
name: title
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: down
|
||||
options:
|
||||
down: desc
|
||||
up: asc
|
||||
- name: info_activity
|
||||
type: info
|
||||
label: How long does my account stay if it is inactive?
|
||||
default: "12 weeks exactly. You will need to log in before that amount of time has elapsed to keep your account active."
|
||||
|
||||
login:
|
||||
method: cookie
|
||||
inputs:
|
||||
cookie: "{{ .Config.cookie }}"
|
||||
test:
|
||||
path: my.php
|
||||
selector: a[href="/logout.php"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
# does not appear to support multi category searches
|
||||
cat: 0
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 name, 1 descr, 2 both
|
||||
searchin: 0
|
||||
# note: using incldead=3 causes `Unknown column 'free' in 'where clause'` at web site
|
||||
# 0 active, 1 incldead, 2 onlydead, 3 freeleech
|
||||
incldead: 1
|
||||
sort: "{{ .Config.sort }}"
|
||||
d: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: tr.ttable:has(a[href^="browse.php?cat="])
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
selector: td:nth-child(2) a
|
||||
attribute: title
|
||||
download:
|
||||
selector: a[href^="download.php/"]
|
||||
attribute: href
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
files:
|
||||
selector: td:nth-child(3)
|
||||
size:
|
||||
selector: td:nth-child(5)
|
||||
grabs:
|
||||
selector: td:nth-child(6)
|
||||
seeders:
|
||||
selector: td:nth-child(7)
|
||||
leechers:
|
||||
selector: td:nth-child(8)
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
date:
|
||||
selector: td:nth-child(2)
|
||||
remove: a
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Uploaded ", ""]
|
||||
- name: timeago
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
# 1 day (as seconds = 24 x 60 x 60)
|
||||
text: 86400
|
||||
# engine n/a
|
||||
Reference in New Issue
Block a user