Jackett/src/Jackett.Common/Definitions/torrenthane.yml

80 lines
1.6 KiB
YAML

---
id: torrenthane
name: TorrentHane
description: "TorrentHane is a TURKISH Public site for MOVIES / TV"
language: tr
type: public
encoding: UTF-8
links:
- https://torrenthane.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*="/download/"]
attribute: href
search:
paths:
- path: "{{ if .Keywords }}?s={{ .Keywords }}{{else}}kategori/torrent-filmler/{{end}}"
- path: "{{ if .Keywords }}{{else}}kategori/torrent-diziler/{{end}}"
# does not support imdbid and does not return imdb link in results
rows:
selector: div.moviefilm
filters:
- name: andmatch
fields:
category:
selector: div.moviefilm a
attribute: href
case:
a[href*="-film-"]: 1 # movie
a[href*="-dizi-"]: 2 # series
a[href*="-bolum-"]: 2 # episode
"*": 3
title:
selector: div.movief a
details:
selector: div.movief a
attribute: href
download:
selector: div.movief a
attribute: href
banner:
selector: img
attribute: src
date:
text: now
cat:
selector: div.moviefilm a
attribute: href
case:
a[href*="-film-"]: 1 # movie
a[href*="-dizi-"]: 2 # series
a[href*="-bolum-"]: 2 # episode
"*": 3
size:
text: "{{ if eq .Result.cat \"1\" }}2 GB{{else}}512 MB{{end}}"
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a