Jackett/src/Jackett.Common/Definitions/torrentz2.yml

145 lines
3.8 KiB
YAML
Raw Normal View History

---
site: torrentz2
name: Torrentz2
description: "Torrentz2 is a Public torrent meta-search engine combining results from dozens of torrent sites"
language: en-us
type: public
encoding: UTF-8
links:
- https://torrentz2.eu/
caps:
categories:
"video tv": TV
2018-02-13 19:22:37 +00:00
"video anime": TV/Anime
"video": Movies
2018-02-13 19:22:37 +00:00
"movies divx xvid": Movies
"video movie dvd": Movies
"video movie dvdrip": Movies
"video movie hd": Movies/HD
2017-02-09 18:46:23 +00:00
"ebook": Books/Ebook
2018-02-13 19:22:37 +00:00
"ebook comics": Books/Comics
2017-02-09 18:46:23 +00:00
"ebook magazine": Books/Magazines
2018-02-13 19:22:37 +00:00
"ebook tutorial": Books/Technical
2017-02-09 18:46:23 +00:00
"ebook audio book": Audio/Audiobook
2018-02-13 19:22:37 +00:00
"audio": Audio
2017-02-09 18:46:23 +00:00
"audio music lossless": Audio/Lossless
2018-02-13 19:22:37 +00:00
"audio music mp3": Audio/MP3
2017-02-09 18:46:23 +00:00
"application": PC/0day
"game": PC/Games
2018-02-13 19:22:37 +00:00
"game pc": PC/Games
2017-02-09 18:46:23 +00:00
"game xbox": Console/Xbox
"game nintendo": Console/NDS
2018-02-13 19:22:37 +00:00
"adult": XXX
"adult amateur": XXX
2017-02-09 18:46:23 +00:00
"adult anal": XXX
2018-02-13 19:22:37 +00:00
"adult asian": XXX
2017-02-09 18:46:23 +00:00
"adult blowjobs": XXX
2018-02-13 19:22:37 +00:00
"adult creampie": XXX
"adult double p": XXX
"adult fisting": XXX
"adult hairy": XXX
"adult hentai": XXX
2019-12-23 06:21:47 +00:00
"adult interracial": XXX
2018-02-13 19:22:37 +00:00
"adult lesbian": XXX
"adult milf": XXX
"adult squirting": XXX
"adult tattoo": XXX
"other": Other
"images": Other
2017-02-09 18:46:23 +00:00
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: itorrents-links
type: checkbox
label: "Add download links via itorrents.org"
default: false
- name: filter-safe
type: checkbox
label: "Exclude adult content from results"
default: true
- name: filter-verified
type: checkbox
label: "Only include verifed content in results"
default: false
- name: sort
type: select
label: Sort requested from site
default: "A"
options:
"A": "created"
"P": "seeders"
"S": "size"
search:
paths:
- path: "{{if .Config.filter-verified }}verified{{else}}search{{end}}{{ .Config.sort }}"
inputs:
f: "{{ if .Keywords }}title: {{ .Keywords }}{{else}}{{end}}"
safe: "{{ if .Config.filter-safe }}1{{else}}0{{end}}"
rows:
selector: "html body #wrap .results dl:has(a)"
# andmatch filter removed, see #3737
fields:
title:
selector: dt a
details:
selector: dt a
attribute: href
download-itorrents:
selector: dt a
attribute: href
filters:
- name: regexp
args: "/(\\w+)"
- name: toupper
- name: prepend
args: http://itorrents.org/torrent/
- name: append
args: ".torrent"
download:
text: "{{if .Config.itorrents-links}}{{ .Result.download-itorrents }}{{else}}{{end}}"
magfile:
text: "{{ .Result.title }}"
filters:
- name: validfilename
- name: urlencode
magnet:
selector: dt a
attribute: href
filters:
- name: regexp
args: "/(\\w+)"
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result.magfile }}.torrent&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://tracker.opentrackr.org:1337"
2019-12-23 06:21:47 +00:00
category:
optional: true
selector: dt
remove: a
filters:
- name: re_replace
args: ["[^a-zA-Z0-9\\s]+", ""]
- name: trim
date:
selector: dd span:nth-child(2)
attribute: title
size:
selector: dd span:nth-child(3)
seeders:
selector: dd span:nth-child(4)
leechers:
selector: dd span:nth-child(5)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1