Add tracker 3dtorrents (#1228)

This commit is contained in:
adamwinn 2017-04-01 06:32:53 -06:00 committed by kaso17
parent a825eca9e5
commit 3823019741
3 changed files with 106 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
### Supported Private Trackers
* 2 Fast 4 You
* 3D Torrents
* 7tor
* Abnormal
* Acid-Lounge

View File

@ -0,0 +1,102 @@
---
site: 3dtorrents
name: 3D Torrents
description: "3D Movie tracker"
language: en-us
type: private
encoding: UTF-8
links:
- http://www.3dtorrents.org/
caps:
categorymappings:
- {id: 14, cat: Movies, desc: "Movies XviD"}
- {id: 34, cat: Movies, desc: "Movies UltraHD"}
- {id: 15, cat: Movies, desc: "Movies DVD-R"}
- {id: 11, cat: Movies, desc: "Movies 720p"}
- {id: 13, cat: Movies, desc: "Movies 1080p"}
- {id: 16, cat: Movies, desc: "Movies 3DTV"}
- {id: 17, cat: Movies, desc: "Movies Blu-ray"}
- {id: 27, cat: Movies, desc: "Movies BD25 Encode"}
- {id: 33, cat: Movies, desc: "Movies BD9 AVCHD"}
- {id: 22, cat: Movies, desc: "Movies 2D to 3D Conv"}
- {id: 32, cat: Movies, desc: "Bluray MKV Remux"}
- {id: 23, cat: Movies, desc: "Movies Evo 3D"}
- {id: 21, cat: PC, desc: "3D Software"}
- {id: 2, cat: Audio, desc: "Music"}
- {id: 28, cat: XXX, desc: "Adult 720p"}
- {id: 29, cat: XXX, desc: "Adult 1080p"}
- {id: 30, cat: XXX, desc: "Adult Blu-ray"}
- {id: 31, cat: Other, desc: "Misc"}
- {id: 19, cat: Audio, desc: "Audio Packs"}
modes:
search: [q]
login:
path: index.php?page=login&returnto=index.php
method: form
form: form
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
captcha:
type: image
image: img.captcha
input: private_key
error:
- selector: span.errormsg
test:
path: index.php
download:
selector: a[href^="download.php?id="]
search:
path: index.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Query.Keywords }}"
page: torrents
category: 0
3dformat: 0
active: 1
rows:
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
fields:
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
title:
remove: span
selector: td:nth-child(2)
download:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href
filters:
- name: replace
args: ["index.php?page=torrent-details&id=", "download.php?id="]
details:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href
size:
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
date:
selector: td:nth-last-child(5)
filters:
- name: dateparse
args: "02/01/2006"
downloadvolumefactor:
case:
img[title^="You get 50% off download count on this torrent"]: "0.5"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@ -414,6 +414,9 @@
<Content Include="Definitions\hdme.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\3dtorrents.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\uhdbits.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>