Skip to content

Commit

Permalink
Add Mononoké-BT tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
kaso17 committed Jan 18, 2017
1 parent fb3065a commit 94bf9a1
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -72,6 +72,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Infinity-T
* IPTorrents
* M-Team - TP
* Mononoké-BT
* MoreThanTV
* MyAnonamouse
* myAmity
Expand Down
88 changes: 88 additions & 0 deletions src/Jackett/Definitions/mononokebt.yml
@@ -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"


3 changes: 3 additions & 0 deletions src/Jackett/Jackett.csproj
Expand Up @@ -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>
Expand Down

0 comments on commit 94bf9a1

Please sign in to comment.