Add Torrents.Md tracker

This commit is contained in:
kaso17 2016-12-20 19:43:08 +01:00
parent eacfd53466
commit 849b9e9765
3 changed files with 100 additions and 0 deletions

View File

@ -94,6 +94,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* TorrentDay
* TorrentHeaven
* TorrentLeech
* Torrents.Md
* TorrentShack
* Torrent-Syndikat
* ToTheGlory

View File

@ -0,0 +1,96 @@
---
site: torrentsmd
name: Torrents.Md
language: ru-mo
encoding: UTF-8
links:
- https://torrentsmd.com/
caps:
categories:
1: Movies # Filme
2: Audio # Muzică
3: PC # Software
4: Console # Jocuri
5: TV # Tv
7: Other # Alte
8: Books # Cărţi
9: Audio/Video # Muzică video
10: TV/Anime # Anime
11: Movies # Filme animate
12: Movies/DVD # DVD
13: Movies # Filme documentare
14: Audio/Audiobook # Cărţi audio
15: Other # Lecţii video
16: Other # Fotografii
17: TV/Sport # Sport
18: TV/HD # HDTV
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login.php
method: form
form: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("eşuată"))
test:
path: browse.php
search:
path: "{{if .Query.Keywords}}search.php{{else}}browse.php{{end}}"
inputs:
search_str: "{{ .Query.Keywords }}"
rows:
selector: table.tableTorrents > tbody > tr:has(a[href^="/details.php?id="])
fields:
title:
selector: a[href^="/details.php?id="]
details:
selector: a[href^="/details.php?id="]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="/details.php?id="]
attribute: href
filters:
- name: replace
args: ["/details.php", "/download.php"]
files:
selector: td:nth-child(3)
date:
selector: td:nth-child(5)
filters:
- name: replace
args: ["ore", "hours ago"]
- name: replace
args: ["minute", "minutes ago"]
- name: dateparse
args: "01-02 2006"
- name: dateparse
args: "01-02"
size:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: td:nth-child(2)
remove: a[href^="details.php?id="]

View File

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