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