Updated mock arr container names

This commit is contained in:
2025-11-20 10:43:15 -07:00
parent b2ae5bd9d9
commit ab4c119e04
560 changed files with 137075 additions and 110038 deletions
+96 -129
View File
@@ -10,66 +10,63 @@ links:
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: 143, cat: TV/Anime, desc: "Anime"}
- {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: 144, cat: TV/Anime, desc: "Anime"}
- {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"}
- {id: 145, cat: Movies, desc: "Filme > DRG"}
- {id: 28, cat: Movies/SD, desc: "Filme > SD"}
- {id: 32, cat: Movies/HD, desc: "Filme > HD"}
- {id: 114, cat: Movies/UHD, desc: "Filme > UHD"}
- {id: 140, cat: Movies/BluRay, desc: "Filme > BluRay"}
- {id: 143, cat: TV/Anime, desc: "Filme > Anime"}
- {id: 138, cat: Movies, desc: "Filme > Packs"}
- {id: 148, cat: Movies, desc: "Filme > Packs UHD"}
- {id: 60, cat: TV/SD, desc: "Serien > SD"}
- {id: 57, cat: TV/HD, desc: "Serien > HD"}
- {id: 139, cat: TV/UHD, desc: "Serien > UHD"}
- {id: 144, cat: TV/Anime, desc: "Serien > Anime"}
- {id: 59, cat: TV, desc: "Serien > Packs"}
- {id: 147, cat: TV, desc: "Serien > Packs UHD"}
- {id: 110, cat: Audio/MP3, desc: "Audio > MP3"}
- {id: 48, cat: Audio/Lossless, desc: "Audio > Flac"}
- {id: 52, cat: Audio, desc: "Audio > Pack"}
- {id: 63, cat: Audio/Audiobook, desc: "Audio > Hörbuch"}
- {id: 120, cat: Audio/Video, desc: "Audio > Videos"}
- {id: 12, cat: PC/0day, desc: "Apps > Windows"}
- {id: 125, cat: PC/Mac, desc: "Apps > Mac-OSX"}
- {id: 11, cat: PC/Mobile-Other, desc: "Apps > Mobil"}
- {id: 141, cat: PC, desc: "Apps > Other"}
- {id: 15, cat: TV/Documentary, desc: "Doku > SD"}
- {id: 14, cat: TV/Documentary, desc: "Doku > HD"}
- {id: 123, cat: TV/Documentary, desc: "Doku > Reihe"}
- {id: 126, cat: PC/Mobile-Other, desc: "Spiel > Mobil"}
- {id: 17, cat: PC/Games, desc: "Spiel > PC"}
- {id: 24, cat: Console, desc: "Spiel > Konsole"}
- {id: 121, cat: Console, desc: "Spiel > Wimmelbild"}
- {id: 61, cat: TV/Sport, desc: "Sport > HD"}
- {id: 62, cat: TV/Sport, desc: "Sport > SD"}
- {id: 96, cat: Books/Mags, desc: "ePaper > Zeitungen"}
- {id: 136, cat: Books/EBook, desc: "ePaper > E-Book"}
- {id: 137, cat: Books/Comics, desc: "ePaper > Comics"}
- {id: 76, cat: XXX/SD, desc: "XXX > SD"}
- {id: 73, cat: XXX/x264, desc: "XXX > HD"}
- {id: 75, cat: XXX/Pack, desc: "XXX > Pack"}
- {id: 142, cat: XXX/ImageSet, desc: "XXX > Pic´s"}
- {id: 129, cat: Movies/SD, desc: "Internal > Film SD"}
- {id: 128, cat: Movies/HD, desc: "Internal > Film HD"}
- {id: 131, cat: TV/SD, desc: "Internal > Serien SD"}
- {id: 130, cat: TV/HD, desc: "Internal > Serien HD"}
- {id: 132, cat: Other, desc: "Internal > Sonstiges"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: info_password
type: info
label: About Password Expiry
default: "D-U has an <b>20 week Password Expiry</b> regime. So if the Indexer has stopped working then the first thing you should do is check if your password has expired by login in at <a href=\"https://dasunerwartete.biz/login.php\" target=\"_blank\">Das Unerwartete</a>, and if necessary use the <b>Passwort anfordern</b> (<i>Request password</i>) button to renew it."
- name: username
type: text
label: Username
@@ -78,28 +75,12 @@ settings:
label: Password
- name: onlyupload
type: checkbox
label: Filter OnlyUpload only
label: Search OnlyUpload
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
default: "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)."
- name: info_tpp
type: info
label: Results Per Page
@@ -118,86 +99,72 @@ login:
password: "{{ .Config.password }}"
loggiin: Login
error:
- selector: div#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
paths:
# https://dasunerwartete.biz/torrents_search.php?ajax=true&search=1080p&page=1&imdb=1034320&free=yes&c32=1
- path: torrents_search.php
response:
type: json
inputs:
$raw: "{{ range .Categories }}scat[]={{.}}&{{end}}"
ajax: true
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
page: 1
imdb: "{{ .Query.IMDBIDShort }}"
# all=active+inactive, yes=active, no=inactive (the default is all, which ajax simply drops the parm)
# visible: all
# all=all+onlyup, yes=onlyup, no=without onlyup (the default is all, which ajax simply drops the parm)
free: "{{ if .Config.onlyupload }}yes{{ else }}{{ end }}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
rows:
selector: "div.selection_wrap{{ if .Config.onlyupload }}:has(img[src=\"/pic/free.gif\"]){{ else }}{{ end }}"
selector: data
fields:
category:
selector: a[href^="selection.php?cat="]
attribute: href
categorydesc:
selector: category
filters:
- name: querystring
args: cat
- name: htmldecode
title:
selector: a[href^="details.php?id="]
selector: name
_id:
selector: id
details:
selector: a[href^="details.php?id="]
attribute: href
text: "details.php?id={{ .Result._id }}"
download:
selector: a[href^="download.php?torrent="]
attribute: href
selector: download_link
poster:
selector: img[src^="cloud-data/"]
attribute: src
selector: cover
size:
selector: div.selection_unter_ad
grabs:
selector: div.selection_unter_ae
seeders:
selector: div.selection_unter_aa
leechers:
selector: div.selection_unter_aaa
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: append
args: " +01:00" # CET
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"
selector: size
date:
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
# 25.12.2024 16:02
selector: added
filters:
- name: append
args: " +01:00" # CET
- name: dateparse
args: "dd.MM.yyyy HH:mm zzz"
seeders:
selector: seeders
leechers:
selector: leechers
_onlyup:
selector: free_button:contains(Only Upload)
optional: true
downloadvolumefactor:
case:
img[src="/pic/free.gif"]: 0
"*": 1
text: "{{ if .Result._onlyup }}0{{ else }}1{{ end }}"
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# THX custom
# 1.5 days (as seconds = 1.5 x 24 x 60 x 60)
text: 129600
# THX JSON (custom)