Jackett/src/Jackett.Common/Definitions/film-paleis.yml

184 lines
5.8 KiB
YAML

---
id: film-paleis
name: Film-Paleis
description: "Film-Paleis is a DUTCH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: nl-NL
type: private
encoding: UTF-8
links:
- https://www.film-paleis.me/
legacylinks:
- http://www.film-paleis.me/
caps:
categorymappings:
- {id: 2, cat: Movies/BluRay, desc: " Bluray/HD"}
- {id: 3, cat: Movies/DVD, desc: " DVD Kids"}
- {id: 4, cat: Audio/Video, desc: " DVD Muziek"}
- {id: 5, cat: Movies/DVD, desc: " DVD Films"}
- {id: 7, cat: Movies/UHD, desc: " 4K films"}
- {id: 8, cat: XXX, desc: " Erotiek"}
- {id: 9, cat: PC/Mobile-Other, desc: " GSM/Navigatie"}
- {id: 10, cat: Audio, desc: " Muziek Album"}
- {id: 11, cat: Audio/Other, desc: " Muziek Diverse"}
- {id: 12, cat: Console/NDS, desc: " Nintendo"}
- {id: 13, cat: Movies, desc: " Classic"}
- {id: 15, cat: Other, desc: " Overige"}
- {id: 16, cat: PC/0day, desc: " PC Software"}
- {id: 17, cat: PC, desc: " PC Spellen"}
- {id: 19, cat: TV, desc: " TV Series"}
- {id: 21, cat: Movies/SD, desc: " Divx/Xvid"}
- {id: 24, cat: Books/EBook, desc: " E-Books"}
- {id: 26, cat: Audio/Other, desc: " Cabaret"}
- {id: 27, cat: TV/Documentary, desc: " Documentaire"}
- {id: 31, cat: Movies/HD, desc: " FP-release"}
- {id: 32, cat: Audio/Audiobook, desc: " Luister Boeken"}
modes:
search: [q]
tv-search: [q, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info_cookie
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
- name: thankyou
type: text
label: Thank You Comment
- name: info
type: info
label: Thank you comment
default: This site requires you to leave a Thank You comment before you can download. Enter your personalised comment above. Minimum of at least 10 characters.
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: /
selector: a[href="logout.php"]
download:
before:
path: comment.php
method: post
inputs:
action: add
tid: "{{ .DownloadUri.Query.id }}"
text: "{{ .Config.thankyou }}"
submit: Opslaan
selectors:
- selector: a[href^="download.php?id="]
attribute: href
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
incldead: 1
# does not return imdb link in results
rows:
selector: table.mainouter
filters:
- name: andmatch
fields:
title:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["(?i)seizoen\\s*(\\d{1,2})\\s*(tot|t\/m)\\s*(\\d{1,2})", "S$1-$3"]
- name: re_replace
args: ["(?i)(seizoen\\s*)(\\d{1,2})", "S$2"]
- name: re_replace
args: ["(?i)(afl.\\s*|aflevering\\s*)(\\d{1,2})", "E$2"]
- name: re_replace
args: ["(?i)compleet", "Complete"]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="details.php?id="]
attribute: href
poster:
selector: img[src*="/covers/"]
attribute: src
size:
selector: td:nth-child(4) table tr td:nth-child(2)
filters:
- name: regexp
args: "(.+?) in"
files:
selector: td:nth-child(4) table tr td:nth-child(2)
filters:
- name: regexp
args: "in (\\d+) bestan"
grabs:
selector: td:nth-child(4) table tr:nth-child(2) td:nth-child(1)
date:
selector: td:nth-child(4) table tr:nth-child(2) td:nth-child(2)
filters:
- name: replace
args: ["januari", "January"]
- name: replace
args: ["februari", "February"]
- name: replace
args: ["maart", "March"]
- name: replace
args: ["april", "April"]
- name: replace
args: ["mei", "May"]
- name: replace
args: ["juni", "June"]
- name: replace
args: ["juli", "July"]
- name: replace
args: ["augustus", "August"]
- name: replace
args: ["september", "September"]
- name: replace
args: ["oktober", "October"]
- name: replace
args: ["november", "November"]
- name: replace
args: ["december", "December"]
- name: re_replace
args: ["\\s*om\\s*", " "]
- name: append
args: " +01:00" # CET
- name: dateparse
args: "2 January 2006 15:04:05 -07:00"
seeders_optional:
optional: true
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font b
seeders:
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
leechers_optional:
optional: true
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b
leechers:
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
downloadvolumefactor:
case:
img[src="pic/freedlfsu.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
# engine n/a