2020-03-03 16:28:26 +00:00
---
2020-05-11 19:59:28 +00:00
id : metaltracker
2020-05-10 20:05:19 +00:00
name : Metal Tracker
description : "Metal Tracker is a Semi-Private site dedicated to HEAVY METAL MUSIC. This definition is for the English site."
2021-09-07 23:09:51 +00:00
language : en-US
2020-05-10 20:05:19 +00:00
type : semi-private
encoding : UTF-8
links :
- https://en.metal-tracker.com/
legacylinks :
- http://en.metal-tracker.com/
2017-10-21 19:44:22 +00:00
2020-05-10 20:05:19 +00:00
caps :
2020-11-03 03:59:37 +00:00
categorymappings :
- {id: Books, cat: Audio/Audiobook, desc : Books}
- {id: Video, cat: Audio/Video, desc : Videos}
- {id: Music, cat: Audio/MP3, desc : Music}
2017-10-21 19:44:22 +00:00
2020-05-10 20:05:19 +00:00
modes :
search : [ q]
2020-10-19 02:01:48 +00:00
music-search : [ q, album, artist]
2020-10-17 04:50:47 +00:00
book-search : [ q]
2017-10-21 19:44:22 +00:00
2020-05-10 20:05:19 +00:00
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
- name : sort
type : select
label : Sort requested from site
2020-10-23 19:21:52 +00:00
default : date
2020-05-10 20:05:19 +00:00
options :
2020-10-23 19:21:52 +00:00
date : created
seeders : seeders
size : size
name : title
2020-05-10 20:05:19 +00:00
- name : type
type : select
label : Order requested from site
2020-10-23 19:21:52 +00:00
default : DESC
2020-05-10 20:05:19 +00:00
options :
2020-10-23 19:21:52 +00:00
DESC : desc
ASC : asc
2019-12-17 17:45:06 +00:00
2020-05-10 20:05:19 +00:00
login :
path : user/login.html
method : post
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
go : Enter
error :
- selector : div.errorSummary
message :
selector : div.errorSummary ul li
test :
path : torrents/search.html
selector : li li:has(a[href="/user/logout.html"])
2017-10-21 19:44:22 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : torrents/search.html
method : post
inputs :
2020-11-03 03:59:37 +00:00
"SearchTorrentsForm[nameTorrent]": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}"
2020-05-10 20:05:19 +00:00
"SearchTorrentsForm[sort]": "{{ .Config.sort }}"
"SearchTorrentsForm[sortType]": "{{ .Config.type }}"
go-search : Search
2020-01-18 21:05:52 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : .smallalbum
2020-01-18 21:05:52 +00:00
2020-05-10 20:05:19 +00:00
fields :
title :
selector : a h3
2020-11-07 23:43:33 +00:00
poster :
2020-05-10 20:05:19 +00:00
selector : .thumb a img
attribute : src
details :
selector : .thumb a
attribute : href
download :
selector : .center a[href^="/torrents/download/id/"]
attribute : href
date :
text : now
seeders :
selector : .center font:nth-of-type(1)
leechers :
selector : .center font:nth-of-type(2)
downloadvolumefactor :
text : 0
uploadvolumefactor :
text : 1
category :
selector : .smallalbum
remove : div.thumb, div.center, a
case :
":contains(\"Type: Music\")": Music
":contains(\"Type: Video\")": Video
":contains(\"Type: Books\")": Books
size :
selector : .smallalbum
filters :
- name : regexp
args : "Size:\\s+([\\w\\d\\.,]+ \\w\\w)"
2020-01-18 21:05:52 +00:00
# engine n/a