Add Mononoké-BT tracker

This commit is contained in:
kaso17 2017-01-18 19:17:52 +01:00
parent fb3065a919
commit 94bf9a146b
3 changed files with 92 additions and 0 deletions

View File

@ -72,6 +72,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Infinity-T
* IPTorrents
* M-Team - TP
* Mononok<6F>-BT
* MoreThanTV
* MyAnonamouse
* myAmity

View File

@ -0,0 +1,88 @@
---
site: mononokebt
name: Mononoké-BT
language: fr-fr
encoding: ISO-8859-15
links:
- http://mononoke-bt.org/
caps:
categories:
1: TV/Anime
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("l'authentification"))
test:
path: browse2.php
search:
path: browse2.php
inputs:
search: "%{{ re_replace .Query.Keywords \"[^a-zA-Z0-9]+\" \"%\" }}%"
incldead: 1
rows:
selector: table#torrentstable > tbody > tr:has(a[href^="details.php?id="])
filters:
- name: andmatch
fields:
download:
selector: a[href^="gettorrent.php?id="]
attribute: href
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
banner:
selector: a[href^="browse2.php?cat="] > img
attribute: src
category:
text: "1"
seeders:
selector: td:nth-child(13)
leechers:
selector: td:nth-child(14)
grabs:
selector: td:nth-child(12)
files:
selector: td:nth-child(6)
size:
selector: td:nth-child(10)
filters:
- name: replace
args: ["o", "b"]
downloadvolumefactor:
text: "1"
downloadvolumefactor|optional:
selector: td:nth-child(6) > nobr > font:contains(" × ")
filters:
- name: replace
args: ["×", ""]
downloadvolumefactor:
case:
img[src="/pic/icons/cadeau1.png"]: "0"
img[src="/pic/icons/cadeau2.png"]: "0"
img[src="/pic/icons/cadeau3.png"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
date:
selector: td:nth-child(9)
filters:
- name: append
args: " +01:00"
- name: dateparse
args: "2006-01-0215:04:05 -07:00"

View File

@ -537,6 +537,9 @@
<Content Include="Definitions\aox.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\mononokebt.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>