media-server-docker-compose/config/prowlarr/Definitions/dasunerwartete.yml

200 lines
5.9 KiB
YAML
Raw Normal View History

2024-04-07 00:37:31 -04:00
---
id: dasunerwartete
name: Das Unerwartete
description: "Das Unerwartete (D-U) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: de-DE
type: private
encoding: UTF-8
links:
- https://dasunerwartete.biz/
caps:
categorymappings:
# Filme
- {id: 28, cat: Movies/SD, desc: "SD"}
- {id: 32, cat: Movies/HD, desc: "HD"}
- {id: 114, cat: Movies/UHD, desc: "UHD"}
- {id: 140, cat: Movies/BluRay, desc: "BluRay"}
- {id: 138, cat: Movies, desc: "Pack`s"}
# Serien
- {id: 60, cat: TV/SD, desc: "SD"}
- {id: 57, cat: TV/HD, desc: "HD"}
- {id: 139, cat: TV/UHD, desc: "UHD"}
- {id: 59, cat: TV, desc: "Pack`s"}
# Audio
- {id: 110, cat: Audio/MP3, desc: "MP3"}
- {id: 48, cat: Audio/Lossless, desc: "Flac"}
- {id: 52, cat: Audio, desc: "Pack"}
- {id: 63, cat: Audio/Audiobook, desc: "Hörbuch"}
- {id: 120, cat: Audio/Video, desc: "Videos"}
# Apps
- {id: 12, cat: PC/0day, desc: "Windows"}
- {id: 125, cat: PC/Mac, desc: "Mac-OSX"}
- {id: 11, cat: PC/Mobile-Other, desc: "Mobil"}
- {id: 141, cat: PC, desc: "PC"}
# Doku
- {id: 15, cat: TV/Documentary, desc: "SD"}
- {id: 14, cat: TV/Documentary, desc: "HD"}
- {id: 123, cat: TV/Documentary, desc: "Reihe"}
# Spiel
- {id: 126, cat: PC/Mobile-Other, desc: "Mobil"}
- {id: 17, cat: PC/Games, desc: "PC"}
- {id: 24, cat: Console, desc: "Konsole"}
- {id: 121, cat: Console, desc: "Wimmelbild"}
# Sport
- {id: 61, cat: TV/Sport, desc: "HD"}
- {id: 62, cat: TV/Sport, desc: "SD"}
# ePaper
- {id: 96, cat: Books/Mags, desc: "Zeitungen"}
- {id: 136, cat: Books/EBook, desc: "E-Book"}
- {id: 137, cat: Books/Comics, desc: "Comics"}
# XXX
- {id: 76, cat: XXX/SD, desc: "SD"}
- {id: 73, cat: XXX/x264, desc: "HD"}
- {id: 75, cat: XXX/Pack, desc: "Pack"}
- {id: 142, cat: XXX/ImageSet, desc: "Pic´s"}
# Internal
- {id: 129, cat: Movies/SD, desc: "Film SD"}
- {id: 128, cat: Movies/HD, desc: "Film HD"}
- {id: 131, cat: TV/SD, desc: "Serie SD"}
- {id: 130, cat: TV/HD, desc: "Serien HD"}
- {id: 132, cat: Other, desc: "Sonstiges"}
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: Filter OnlyUpload only
default: false
- name: info_free
type: info
label: About OnlyUpload at D-U
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>Anzahl der Torrents beim Durchsuchen:</b> setting to <b>60</b> on your Control Panel. The default is <i>15</i>.
- name: info_activity
type: info
label: Account Inactivity
default: "Inactive accounts will be deactivated after 7 weeks and deleted after another 3 weeks."
login:
path: logintracker.php
method: post
inputs:
login_identifier: "{{ .Config.username }}"
password: "{{ .Config.password }}"
loggiin: Login
error:
- selector: div.error-message
test:
path: index.php
selector: a[href="logout.php"]
search:
# https://dasunerwartete.biz/selection.php?scat[]=60&scat[]=15&search=&blah=0&orderby=added&sort=desc
path: selection.php
inputs:
$raw: "{{ range .Categories }}scat[]={{.}}&{{end}}"
search: "{{ .Keywords }}"
# 0 name, 1 descr, 2 both
blah: 0
orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}"
# site does not support imdbid search from the browse.php page or return imdb links in results
rows:
selector: "div.selection_wrap{{ if .Config.onlyupload }}:has(img[src=\"/pic/free.gif\"]){{ else }}{{ end }}"
fields:
category:
selector: a[href^="selection.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download_ssl.php?torrent="]
attribute: href
poster:
selector: img[src^="cloud-data/to_cover/"]
attribute: src
size:
selector: div.selection_unter_ad
grabs:
selector: div.selection_unter_ae
seeders:
selector: div.selection_unter_aa > b
leechers:
selector: div.selection_unter_aaa > b
date_day:
# Heute 03:27:27
# Gestern 21:00:59
selector: div.selection_unter_ab:contains("Heute"), div.selection_unter_ab:contains("Gestern")
optional: true
filters:
- name: replace
args: ["Heute ", "Today"]
- name: replace
args: ["Gestern ", "Yesterday"]
- name: fuzzytime
date_year:
# 14.03.2024 um 20:43:07
selector: div.selection_unter_ab:not(:contains("Heute")):not(:contains("Gestern"))
optional: true
filters:
- name: append
args: " +01:00" # CET
- name: replace
args: ["um ", ""]
- 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:
img[src="/pic/free.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# THX custom