Jackett/src/Jackett.Common/Definitions/torrentdownloads.yml

99 lines
2.6 KiB
YAML

---
id: torrentdownloads
name: Torrent Downloads
description: "Torrent Downloads (TD) is a Public torrent site for all kinds of content"
language: en-us
type: public
encoding: UTF-8
followredirect: true
links:
- https://www.torrentdownloads.info/
- https://www.torrentdownloads.me/
- https://torrentdownloads.unblockit.me/
- https://torrentdownloads.unblocked.bar/
- https://torrentdownloads.proxyportal.pw/
- https://torrentdownloads.uk-unblock.pro/
legacylinks:
- https://torrentdownloads.unblockit.pro/
- https://torrentdownloads.unblockit.one/
- https://torrentdownloads.black-mirror.xyz/
- https://torrentdownloads.unblocked.casa/
- https://torrentdownloads.proxyportal.fun/
- https://torrentdownloads.uk-unblock.xyz/
- https://torrentdownloads.ind-unblock.xyz/
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"}
- {id: 0, cat: Other, desc: "Other"}
- {id: 6, cat: Other, desc: "Pics"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:"
options:
"http://itorrents.org/": "iTorrents.org"
"magnet:": "magnet"
download:
selector: a[href^="{{ .Config.downloadlink }}"]
attribute: href
search:
paths:
- path: "{{ if .Keywords }}/search/{{else}}/today/{{end}}"
inputs:
$raw: "{{ range .Categories }}s_cat={{.}}&{{end}}"
search: "{{ .Keywords }}"
rows:
selector: div.inner_container > div:has(p:has(a[href^="/torrent/"]))
fields:
title:
selector: p:nth-child(1) > a
attribute: title
filters:
- name: replace
args: ["View torrent info : ", ""]
details:
selector: p:nth-child(1) > a[href^="/torrent/"]
attribute: href
download:
selector: p:nth-child(1) > a[href^="/torrent/"]
attribute: href
date:
text: now
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+)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a