add mkvcage. resolves #5146

This commit is contained in:
Garfield69 2019-06-19 10:21:39 +12:00
parent eeb791dbb6
commit 41142dc88f
2 changed files with 80 additions and 0 deletions

View File

@ -54,6 +54,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* MacTorrents
* MagnetDL
* MejorTorrent <!-- maintained by ivandelabeldad -->
* MkvCage
* Monova
* MovCr
* Newpct (aka: tvsinpagar, descargas2020, torrentlocura, torrentrapid, tumejortorrent, pctnew, etc)

View File

@ -0,0 +1,79 @@
---
site: mkvcage
name: MkvCage
description: "MkvCage is a Public torrent site for MOVIES / TV"
language: en-us
type: public
encoding: UTF-8
links:
- https://www.mkvcage.com/
legacylinks:
- https://www.mkvcage.ws/
- https://mkvcage.com/
caps:
categories:
1: Movies
2: TV
3: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
download:
selector: a[href^="magnet:?"]
search:
paths:
# 6 hits per page!?!?!
- path: "{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
- path: "page/2/{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
- path: "page/3/{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
- path: "page/4/{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
- path: "page/5/{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
rows:
selector: article
filters:
- name: andmatch
fields:
title:
selector: h2 a
category:
selector: span.cat-links
attribute: class
case:
a[href*="/category/movies/"]: "1"
a[href*="/category/tv-shows/"]: "2"
"*": "3"
details:
selector: h2 a
attribute: href
download:
selector: h2 a
attribute: href
description:
selector: pre
banner:
selector: div img
attribute: src
date:
selector: span.posted-on a time
attribute: datetime
size:
selector: h2 a
filters:
- name: re_replace
args: ["(.*?)(\\d+)\\.?\\d?([T|G|M|K]B)$", "$2 $3"]
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"