media-server-docker-compose/config/prowlarr/Definitions/exitorrent-org.yml
Braden Jageman fd77c332fb new stuff
2024-04-07 00:37:31 -04:00

172 lines
5.5 KiB
YAML

---
id: exitorrent-org
name: exitorrent.org
description: "exitorrent.org is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: pl-PL
type: private
encoding: UTF-8
links:
- https://exitorrent.org/
caps:
categorymappings:
- {id: 1, cat: PC, desc: "Aplikacje PC"}
- {id: 43, cat: Audio/Audiobook, desc: "Audiobooki"}
- {id: 33, cat: Movies/BluRay, desc: "BluRay"}
- {id: 28, cat: Movies/Other, desc: "Dla dzieci"}
- {id: 20, cat: Movies/DVD, desc: "DVD-R 5/9"}
- {id: 37, cat: Movies/SD, desc: "DVDFan"}
- {id: 31, cat: Books/EBook, desc: "eBooki / PDF"}
- {id: 30, cat: Movies/3D, desc: "Filmy/3D "}
- {id: 38, cat: Movies/SD, desc: "Filmy/BDRip-BRRip"}
- {id: 35, cat: Movies/HD, desc: "Filmy/x264-BluRay/HD"}
- {id: 45, cat: Movies/HD, desc: "Filmy/x265-BluRay/HD"}
- {id: 4, cat: PC/Games, desc: "Gry PC"}
- {id: 21, cat: PC/Mobile-Other, desc: "GSM/PDA"}
- {id: 2, cat: TV/HD, desc: "HDTV"}
- {id: 19, cat: Movies/SD, desc: "HQ / DVDRip"}
- {id: 6, cat: Audio, desc: "Muzyka"}
- {id: 39, cat: Movies/HD, desc: "Remux"}
- {id: 29, cat: Other, desc: "Różne"}
- {id: 7, cat: TV, desc: "Seriale"}
- {id: 22, cat: Audio/Video, desc: "Teledyski / Koncerty"}
- {id: 44, cat: Movies/UHD, desc: "UHD BluRay"}
- {id: 42, cat: Movies/UHD, desc: "UHD Remux"}
- {id: 23, cat: Movies/WEB-DL, desc: "WEB-DL / WEBRip"}
- {id: 9, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: drop_polish_prefix
type: checkbox
label: Drop the Polish title prefix
default: true
- name: sort
type: select
label: Sort requested from site
default: 4
options:
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: /
selector: a[href$="/logout.php"]
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 title, 1 descr, 2 both
blah: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}"
podkat: 0
hashTag: 0
# 0 all, 1 active, 2 dead
incldead: 0
# 0 all, 1 polish, 5 dubbed, 6 subs, 2 non-polish, 3 freeleech, 4 highlighted
polish: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
keywordsfilters:
# remove the year from the titles as the site chokes on them during search #7424
- name: re_replace
args: [" +(?:19|20)\\d{2} *$", ""]
rows:
selector: table[class="text"][border="0"][cellspacing="0"][cellpadding="4"] > tbody > tr:has(a[href^="details.php?id="]):has(td[class*="tableBody1"])
filters:
- name: andmatch
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title_raw:
selector: a[href^="details.php?id="]
title_stripped:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["^(.*/)(.*)$", "$2"]
- name: trim
title:
text: "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}"
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"], a[href^="downloadfl.php/"]
attribute: href
genre:
selector: div.span_title span div
_language:
optional: true
selector: span.span_style_pl
attribute: title
_subbed:
optional: true
selector: span.span_style_plsub
attribute: title
description:
text: "{{ if .Result._language }}Language: {{ .Result._language }} {{ else }}{{ end }}{{ if .Result._subbed }}Subbed: {{ .Result._subbed }} {{ else }}{{ end }}{{ if .Result.genre }}Genres: {{ .Result.genre }}{{ else }}{{ end }}"
date:
selector: td:nth-child(5)
# auto adjusted by site account profile
filters:
- name: dateparse
args: "yyyy-MM-ddHH:mm:ss"
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
a[href^="downloadfl.php/"]: 0
"*": 1
uploadvolumefactor:
text: 1
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# TBSource v1.5.0