mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
add torrenthane a Turkish public site. resolves #7853
This commit is contained in:
parent
06315470c4
commit
1c42d741a5
2 changed files with 72 additions and 0 deletions
|
@ -128,6 +128,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* TorrentDownload
|
||||
* TorrentFunk
|
||||
* TorrentGalaxy (TGx)
|
||||
* TorrentHane
|
||||
* TorrentKitty
|
||||
* TorrentParadise
|
||||
* TorrentProject2
|
||||
|
|
71
src/Jackett.Common/Definitions/torrenthane.yml
Normal file
71
src/Jackett.Common/Definitions/torrenthane.yml
Normal file
|
@ -0,0 +1,71 @@
|
|||
---
|
||||
site: 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
|
||||
size:
|
||||
text: "512 MB"
|
||||
seeders:
|
||||
text: 1
|
||||
leechers:
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
Loading…
Reference in a new issue