mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
add torrentz2nz a public meta engine. resolves #13609
This commit is contained in:
parent
058a111c43
commit
29eba6c19d
2 changed files with 76 additions and 0 deletions
|
@ -159,6 +159,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||
* TorrentView (토렌트뷰)
|
||||
* TorrentWhiz ( 토렌트위즈)
|
||||
* Torrentz2eu
|
||||
* Torrentz2nz
|
||||
* truPornolabs
|
||||
* Underverse
|
||||
* UnionDHT
|
||||
|
|
75
src/Jackett.Common/Definitions/torrentz2nz.yml
Normal file
75
src/Jackett.Common/Definitions/torrentz2nz.yml
Normal file
|
@ -0,0 +1,75 @@
|
|||
---
|
||||
id: torrentz2nz
|
||||
name: Torrentz2nz
|
||||
description: "Torrentz2nz is a Public torrent meta-search engine"
|
||||
language: en-US
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://torrentz2.nz/
|
||||
|
||||
caps:
|
||||
# unfortunately torrentz2nz does not display categories anywhere in its search results page :-(
|
||||
categorymappings:
|
||||
- {id: 1, cat: Movies, desc: "Movies"}
|
||||
- {id: 2, cat: TV, desc: "TV"}
|
||||
- {id: 3, cat: Other, desc: "Other"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: info_8000
|
||||
type: info
|
||||
label: About Torrentz2nz Categories
|
||||
default: Torrentz2nz does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: search
|
||||
inputs:
|
||||
q: "{{ .Keywords }}"
|
||||
|
||||
rows:
|
||||
selector: dl
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: 3
|
||||
title:
|
||||
selector: dt
|
||||
details:
|
||||
selector: dt a
|
||||
attribute: href
|
||||
magnet:
|
||||
selector: dd a
|
||||
attribute: href
|
||||
date:
|
||||
selector: dd span:nth-child(2)
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["a ", "1 "]
|
||||
- name: timeago
|
||||
size:
|
||||
selector: dd span:nth-child(3)
|
||||
seeders:
|
||||
selector: dd span:nth-child(4)
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(\\d+)\\.(\\d+)K", "$1$200"]
|
||||
- name: replace
|
||||
args: ["K", "000"]
|
||||
leechers:
|
||||
selector: dd span:nth-child(5)
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(\\d+)\\.(\\d+)K", "$1$200"]
|
||||
- name: replace
|
||||
args: ["K", "000"]
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
Loading…
Reference in a new issue