Files
nocodeandClaude Opus 5.5 971e1db036 Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 13:53:14 +01:00

238 lines
8.0 KiB
YAML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: thenewheaven
name: The New Heaven
description: "The New Heaven (TNH) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: de-DE
type: private
encoding: ISO-8859-1
links:
- https://tnhv2.com/
caps:
categorymappings:
# Appz
- {id: 55, cat: PC, desc: "Appz - Linux"}
- {id: 56, cat: PC/Mac, desc: "Appz - Mac"}
- {id: 57, cat: PC/Mobile-Other, desc: "Appz - Mobile"}
- {id: 58, cat: PC, desc: "Appz - Other"}
- {id: 59, cat: PC/0day, desc: "Appz - Win"}
# Docus
- {id: 61, cat: TV/Documentary, desc: "Docus - 3D"}
- {id: 62, cat: TV/Documentary, desc: "Docus - HD"}
- {id: 63, cat: TV/Documentary, desc: "Docus - Pack"}
- {id: 64, cat: TV/Documentary, desc: "Docus - SD"}
- {id: 65, cat: TV/Documentary, desc: "Docus - UHD"}
# Ebooks
- {id: 113, cat: Books, desc: "Ebooks - E-Book´s"}
- {id: 115, cat: Books, desc: "Ebooks - E-Learning"}
- {id: 116, cat: Books, desc: "Ebooks - E-Paper"}
- {id: 129, cat: Books, desc: "Ebooks - Tageszeitung"}
# Games
- {id: 67, cat: PC/Games, desc: "Games - Linux"}
- {id: 68, cat: PC/Games, desc: "Games - Mac"}
- {id: 69, cat: PC/Games, desc: "Games - Misc"}
- {id: 70, cat: PC/Mobile-Other, desc: "Games - Mobile"}
- {id: 71, cat: Console/NDS, desc: "Games - Nintendo"}
- {id: 72, cat: PC/Games, desc: "Games - PC"}
- {id: 73, cat: Console/PS4, desc: "Games - Playstation"}
- {id: 134, cat: Console, desc: "Games - Wimmelbild"}
- {id: 74, cat: Console/XBox, desc: "Games - XBOX"}
# Movies
- {id: 76, cat: Movies/HD, desc: "Movies - 1080P"}
- {id: 78, cat: Movies/3D, desc: "Movies - 3D"}
- {id: 77, cat: Movies/HD, desc: "Movies - 720P"}
- {id: 79, cat: Movies/BluRay, desc: "Movies - Blu-ray"}
- {id: 83, cat: Movies/DVD, desc: "Movies - DVD-R"}
- {id: 84, cat: Movies, desc: "Movies - Int."}
- {id: 80, cat: Movies/SD, desc: "Movies - SD"}
- {id: 85, cat: Movies/UHD, desc: "Movies - UHD"}
# Music
- {id: 88, cat: Audio, desc: "Music - Charts"}
- {id: 89, cat: Audio, desc: "Music - DVD-R"}
- {id: 90, cat: Audio/Lossless, desc: "Music - Flac"}
- {id: 111, cat: Audio, desc: "Music - Hörspiel"}
- {id: 92, cat: Audio, desc: "Music - Misc"}
- {id: 87, cat: Audio/MP3, desc: "Music - MP3"}
- {id: 93, cat: Audio, desc: "Music - OST"}
- {id: 95, cat: Audio, desc: "Music - Pack"}
- {id: 94, cat: Audio, desc: "Music - Sampler"}
- {id: 97, cat: Audio/Video, desc: "Music - Video"}
# Serien
- {id: 99, cat: TV/HD, desc: "Serien - Blu-ray"}
- {id: 100, cat: TV/HD, desc: "Serien - HD"}
- {id: 101, cat: TV, desc: "Serien - Int."}
- {id: 102, cat: TV/HD, desc: "Serien - Pack HD"}
- {id: 103, cat: TV/SD, desc: "Serien - Pack SD"}
- {id: 104, cat: TV/UHD, desc: "Serien - Pack UHD"}
- {id: 105, cat: TV/SD, desc: "Serien - SD"}
- {id: 106, cat: TV/UHD, desc: "Serien - UHD"}
# Sonstiges
- {id: 112, cat: TV/Anime, desc: "Sonstiges - Anime"}
- {id: 117, cat: Movies/UHD, desc: "Sonstiges - Kids"}
- {id: 118, cat: Other, desc: "Sonstiges - Line"}
- {id: 120, cat: Other, desc: "Sonstiges - Other"}
# Sport
- {id: 109, cat: TV/Sport, desc: "Sport - HD"}
- {id: 108, cat: TV/Sport, desc: "Sport - SD"}
# TNH
- {id: 132, cat: Audio/Lossless, desc: "TNH - FLAC"}
- {id: 131, cat: Audio/MP3, desc: "TNH - MP3"}
- {id: 133, cat: Other, desc: "TNH - Rätseltorrent"}
# XXX
- {id: 122, cat: XXX/x264, desc: "XXX - HD"}
- {id: 123, cat: XXX, desc: "XXX - Hentai"}
- {id: 124, cat: XXX/Other, desc: "XXX - Other"}
- {id: 125, cat: XXX/Pack, desc: "XXX - Pack"}
- {id: 126, cat: XXX/SD, desc: "XXX - SD"}
- {id: 127, cat: XXX/UHD, desc: "XXX - UHD"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: onlyupload
type: checkbox
label: Search OnlyUpload only
default: false
- name: info_free
type: info
label: About OnlyUpload at The New Heaven
default: "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech).</li></ul>"
- name: sort
type: select
label: Sort requested from site
default: added
options:
added: created
seeds: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the <b>Torrents pro Seite:</b> setting to <b>100</b> on your <b>Profil bearbeiten</b> page. The default is <i>15</i>.
- name: info_activity
type: info
label: Account Inactivity
default: "Inactive accounts are automatically deleted after 42 days."
- name: info_seedhours
type: info
label: Seeding Hours
default: Before using this indexer, make sure that you have set <b>Meine Seedzeit</b> on your <b>Profil bearbeiten</b> page.
login:
path: login.php
method: form
cookies: ["JAVA=OK"] # avoid jscheck redirect
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div#login-wrap:contains("Anmeldung Gescheitert!") > div.countdown_wrap
test:
path: index.php
selector: a[href="logout.php"]
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
showsearch: 1
# 0 Name, 1 Description, 2 Both
blah: 0
# 0 active, 1 all, 2 dead, onlyup, freeleech, halfleech, multi, highlight, recommended, neu
incldead: "{{ if .Config.onlyupload }}onlyup{{ else }}1{{ end }}"
orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}"
# site does not support imdbid searching or display imdb links in results.
rows:
selector: tr[id^="tselrow"]
filters:
- name: andmatch
fields:
category:
selector: a[href*="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href*="details.php?id="]:has(b)
details:
selector: a[href*="details.php?id="]:has(b)
attribute: href
download:
selector: a[href*="download.php?torrent="]
attribute: href
size:
selector: td:nth-last-child(3)
grabs:
selector: td:nth-last-child(5)
files:
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(8)
leechers:
selector: td:nth-last-child(7)
date_day:
# Heute 13:30:04
# Gestern 09:10:10
selector: td:nth-last-child(3):contains("Heute"), td:nth-last-child(3):contains("Gestern")
optional: true
filters:
- name: replace
args: ["Heute", "Today"]
- name: replace
args: ["Gestern", "Yesterday"]
- name: append
args: "+01:00" # CET
date_year:
# 30.02.2018<br>23:12:50
selector: td:nth-last-child(3):contains("."):contains(":")
optional: true
filters:
- name: append
args: "+01:00" # CET
- name: dateparse
args: "dd.MM.yyyy HH:mm:ss zzz"
date:
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
downloadvolumefactor:
case:
span[style*="ffa500"]:contains("OU"): 0 # only upload is counted
"*": 1
uploadvolumefactor:
case:
span[style*="ff33aa"]:contains("FL"): 0 # nothing is counted
span[style*="orange"]:contains("2x"): 2
span[style*="orange"]:contains("5x"): 5
span[style*="orange"]:contains("10x"): 10
"*": 1
minimumratio:
text: 0.7
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# NetVision