Jackett/src/Jackett.Common/Definitions/mnv.yml

174 lines
4.8 KiB
YAML

---
id: mnv
name: MNV
description: "MNV (Max-New-Vision) is a Private GERMAN tracker"
language: de-DE
type: private
encoding: UTF-8
links:
- https://mnvv2.info/
caps:
categorymappings:
- {id: 1, cat: TV/Anime, desc: "Anime"}
- {id: 2, cat: PC, desc: "Appz"}
- {id: 13, cat: TV/Documentary, desc: "Doku"}
- {id: 3, cat: Books/EBook, desc: "E-Books/Bücher"}
- {id: 24, cat: PC/Games, desc: "Games/PC"}
- {id: 32, cat: TV/Anime, desc: "Hentai"}
- {id: 4, cat: Audio/Audiobook, desc: "Hörspiel/Hörbuch"}
- {id: 6, cat: Movies/HD, desc: "Movies/H.26x"}
- {id: 18, cat: Audio, desc: "Musik"}
- {id: 19, cat: Audio/Video, desc: "Musik Videos"}
- {id: 30, cat: Other, desc: "Sonstiges"}
- {id: 5, cat: Books/Mags, desc: "Tageszeitung"}
- {id: 14, cat: TV, desc: "TV-Serien"}
- {id: 29, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search FreeLeech only
default: false
- name: onlyupload
type: checkbox
label: Search OnlyUpload only
default: false
- name: info_free
type: info
label: About Freeleech and OnlyUpload at MNV
default: <li>FreeLeech are torrents where neither the download or upload is counted.</li><li>OnlyUpload are torrents where download is not counted but upload is. Good for buiding your Ratio up.</li><li>Do not set both FreeLeech and OnlyUpload check boxes, there are no torrents with both these flags so you will get a no-results error.</li>
- name: sort
type: select
label: Sort requested from site
default: added
options:
added: created
seeds: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. The default is <i>10</i>.
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: .tablea:contains("Fehler")
test:
path: browse.php
selector: a[href="logout.php"]
search:
# https://mnvv2.info/browse.php?showsearch=1&c13=1&c3=1&search=&blah=0&incldead=1&team=0&orderby=added&sort=desc&language=all
path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 name, 1 descr, 2 both, 3 filelist
blah: 0
# 0 active, 1 all, 2 dead
incldead: 1
team: 0
language: all
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
free: "{{ if .Config.onlyupload }}1{{ else }}{{ end }}"
orderby: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
# site does not support imdbid search from the browse.php page or return imdb links in results
rows:
selector: table.tableinborder > tbody > tr:has(a[href^="download.php"])
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php"]
details:
selector: a[href^="details.php"]
attribute: href
download:
selector: a[href^="download.php"]
attribute: href
poster:
selector: a[href^="details.php"]
attribute: onMouseover
filters:
- name: regexp
args: "src=(.*?) width"
date:
selector: td.tablea > table > tbody > tr:nth-child(2) > td:nth-child(2) > b
filters:
- name: append
args: " +01:00" # CET
- name: replace
args: ["\xA0", " "]
- name: dateparse
args: "02.01.2006 15:04:05 -07:00"
grabs:
selector: td.tablea table tbody tr:nth-child(2) td:nth-child(3) b
size:
selector: a[href^="details.php"]
attribute: onMouseover
filters:
- name: regexp
args: "Größe: <b>(.*?)</b>"
seeders:
selector: a[href^="details.php"]
attribute: onMouseover
filters:
- name: regexp
args: ">(\\d+) Seeder"
leechers:
selector: a[href^="details.php"]
attribute: onMouseover
filters:
- name: regexp
args: ">(\\d+) Leecher"
downloadvolumefactor:
case:
img[src="pic/oupic.gif"]: 0
img[src="pic/freeleech.gif"]: 0
"*": 1
uploadvolumefactor:
case:
img[src="pic/freeleech.gif"]: 0
"*": 1
minimumratio:
text: 0.7
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# engine n/a