Jackett/src/Jackett.Common/Definitions/extremetorrents.yml

195 lines
5.8 KiB
YAML

---
id: extremetorrents
name: ExtremeTorrents
description: "ExtremeTorrents is a DUTCH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: nl-NL
type: private
encoding: UTF-8
links:
- https://www.extremetorrents.org/
caps:
categorymappings:
- {id: 130, cat: Movies/UHD, desc: "4K Film"}
- {id: 129, cat: Movies/HD, desc: "HD Film - HD MKV"}
- {id: 123, cat: Movies/HD, desc: "HD Film - HEVC x265"}
- {id: 10, cat: Movies/DVD, desc: "DVD Film - Retail DVD"}
- {id: 111, cat: Movies/DVD, desc: "DVD Film - HD2DVD / BR2DVD"}
- {id: 128, cat: Audio/Video, desc: "DVD Film - Muziek DVD"}
- {id: 118, cat: Movies/Other, desc: "DVD Film - Kids DVD"}
- {id: 125, cat: Movies/SD, desc: "DivX - Divx Rip"}
- {id: 143, cat: Movies/HD, desc: "DivX - Divx 720P"}
- {id: 132, cat: TV, desc: "Serie's - Complete Seizoen"}
- {id: 139, cat: TV, desc: "Serie's - Losse Afleveringen"}
- {id: 105, cat: TV/Documentary, desc: "Docu's"}
- {id: 115, cat: PC/0day, desc: "Software - Windows"}
- {id: 116, cat: PC/Mac, desc: "Software - Mac"}
- {id: 105, cat: PC/ISO, desc: "Software - Linux"}
- {id: 120, cat: PC/Games, desc: "Games"}
- {id: 114, cat: Audio/MP3, desc: "Muziek - MP3"}
- {id: 142, cat: Audio/Lossless, desc: "Muziek - Flac"}
- {id: 131, cat: Books/Comics, desc: "Stipboeken"}
- {id: 140, cat: Books/EBook, desc: "E-Book"}
- {id: 155, cat: Books/Mags, desc: "Tijdschriften"}
- {id: 108, cat: XXX, desc: "18+ XXX"}
- {id: 106, cat: Other, desc: "Overige"}
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: 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.
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table.main:contains("Aanmelden mislukt")
test:
path: index.php
selector: a[href="logout.php"]
download:
before:
# https://www.extremetorrents.org/comment.php?action=add&tid=166386
path: comment.php
method: post
inputs:
action: add
tid: "{{ .DownloadUri.Query.id }}"
text: "{{ .Config.thankyou }}"
submit: Opslaan
selectors:
- selector: a[href^="downloadv1.php?id="]
attribute: href
- selector: a[href^="download.php?id="]
attribute: href
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
# does not support imdbid search and does not return imdb link in results
keywordsfilters:
- name: re_replace # S01E02 to 1 2
args: ["(?i)\\bS0*(\\d{1,2})\\s*E0*(\\d{1,2})\\b", "$1 $2"]
- name: re_replace # S01 to 1
args: ["(?i)\\bS0*(\\d{1,2})\\b", "$1"]
rows:
selector: table.mainouter
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="]
filters:
- name: re_replace
args: ["(?i)(seizoen\\s*)(\\d{1,2})\\s*(tot|t\/m|&|\\+)\\s*(\\d{1,2})", "S$2-$4"]
- name: re_replace
args: ["(?i)(seizoen\\s*)(\\d{1,2})", "S$2"]
- name: re_replace
args: ["(?i)(afl.\\s*|aflevering\\s*|ep.\\s*)(\\d{1,2})\\s*(tot|t\/m|&|\\+)\\s*(\\d{1,2})", "E$2-$4"]
- name: re_replace
args: ["(?i)(afl.\\s*|aflevering\\s*|ep.\\s*)(\\d{1,2})", "E$2"]
- name: re_replace
args: ["(?i)compleet", "Complete"]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="details.php?id="]
attribute: href
poster:
selector: div[id^="Style"] img
attribute: src
size:
selector: a[href^="details_bestanden.php?torrent_id="]
filters:
- name: regexp
args: "(.+?) in"
files:
selector: a[href^="details_bestanden.php?torrent_id="]
filters:
- name: regexp
args: "in (\\d+) bestan"
grabs:
selector: table table tr:nth-child(2) td:nth-child(1)
date:
selector: table table tr:nth-child(2) td:nth-child(3)
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: "d MMMM yyyy HH:mm:ss zzz"
seeders:
selector: table tr:nth-child(3) td:nth-child(5) font b
optional: true
default: 0
leechers:
selector: table tr:nth-child(3) td:nth-child(5) font b:nth-child(2)
optional: true
default: 0
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
# engine n/a