Add "Torrent Downloads" tracker (#1563)

* Add "Torrent Downloads" tracker

Add "Torrent Downloads" tracker as requested on "Issue #1559"

* Update README.md

Added "Torrent Downloads" to the list.

* Update torrentdownloads.yml
This commit is contained in:
Guizzoni
2017-07-16 08:16:09 -03:00
committed by chibidev
parent 6e2087d5dc
commit 32d0a8d703
2 changed files with 60 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* The Pirate Bay * The Pirate Bay
* TNTVillage <!-- maintained by bonny1992 --> * TNTVillage <!-- maintained by bonny1992 -->
* Tokyo Toshokan * Tokyo Toshokan
* Torrent Downloads
* TorrentProject * TorrentProject
* Torrentz2 * Torrentz2

View File

@@ -0,0 +1,59 @@
---
site: torrentdownloads
name: Torrent Downloads
language: en-us
type: public
encoding: UTF-8
links:
- https://www.torrentdownloads.me/
caps:
categorymappings:
- {id: 8, cat: TV, desc: "TV Shows"}
- {id: 4, cat: Movies, desc: "Movies"}
- {id: 5, cat: Audio, desc: "Music"}
- {id: 3, cat: PC/Games, desc: "Games"}
- {id: 7, cat: PC, desc: "Software"}
- {id: 1, cat: TV/Anime, desc: "Anime"}
- {id: 2, cat: Books, desc: "Books"}
- {id: 9, cat: Other, desc: "Other"}
modes:
search: [q]
search:
path: /search/
inputs:
$raw: "new=1&{{range .Categories}}s_cat={{.}}&{{end}}"
search: "{{ .Query.Keywords }}"
rows:
selector: div.inner_container > div:has(p:has(a[href^="/torrent/"]))
fields:
title:
selector: p:nth-child(1) > a
details:
selector: p:nth-child(1) > a[href^="/torrent/"]
attribute: href
download:
selector: p:nth-child(1) > a[href^="/torrent/"]
attribute: href
filters:
- name: replace
args: ["/torrent/", "/download/"]
size:
selector: span:nth-child(5)
seeders:
selector: span:nth-child(4)
leechers:
selector: span:nth-child(3)
category:
selector: img[src^="/templates/new/images/icons/menu_icon"]
attribute: src
filters:
- name: regexp
args: ([\d,]+)
- name: strdump
downloadvolumefactor:
text: "1"
uploadvolumefactor:
text: "1"