mirror of
https://github.com/Jackett/Jackett
synced 2025-02-21 05:47:09 +00:00
metaltracker: add semi-private heavy metal music tracker #282
this definition is for the english version of the site
This commit is contained in:
parent
6e61f38644
commit
bdc2843b40
2 changed files with 79 additions and 0 deletions
|
@ -63,6 +63,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Deildu
|
||||
* Gay-Torrents.net
|
||||
* LostFilm.tv
|
||||
* Metal Tracker
|
||||
* NetHD
|
||||
* RuTracker
|
||||
* SkTorrent
|
||||
|
|
78
src/Jackett/Definitions/metaltracker.yml
Normal file
78
src/Jackett/Definitions/metaltracker.yml
Normal file
|
@ -0,0 +1,78 @@
|
|||
---
|
||||
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:
|
||||
- http://en.metal-tracker.com/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
"Books": Audio/Audiobook
|
||||
"Video": Audio/Video
|
||||
"Music": Audio/MP3
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
music-search: [q, album, artist, label, year]
|
||||
|
||||
login:
|
||||
path: /user/login.html
|
||||
method: form
|
||||
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"])
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: /torrents/search.html
|
||||
method: post
|
||||
inputs:
|
||||
"SearchTorrentsForm[nameTorrent]": "{{ .Keywords }}"
|
||||
go-search: "Search"
|
||||
rows:
|
||||
selector: .smallalbum
|
||||
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:
|
||||
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)"
|
Loading…
Reference in a new issue