Jackett/src/Jackett.Common/Definitions/divteam.yml

191 lines
6.7 KiB
YAML

---
id: divteam
name: DivTeam
description: "DivTeam is a SPANISH Private Torrent Tracker for MOVIES / GENERAL"
language: es-ES
type: private
encoding: UTF-8
links:
- https://divteam.com/
caps:
categorymappings:
- {id: 60, cat: Movies/HD, desc: "MicroHD 720p"}
- {id: 77, cat: Movies/HD, desc: "MicroHD 1080p"}
- {id: 78, cat: Movies/UHD, desc: "MicroHD 4K"}
- {id: 64, cat: TV/HD, desc: "Pack Series"}
- {id: 65, cat: TV/HD, desc: "Pack Series VOSE"}
- {id: 80, cat: Movies/HD, desc: "BDRip X265 1080p"}
- {id: 81, cat: Movies/UHD, desc: "UHDRip x265 4K"}
- {id: 82, cat: Movies/WEB-DL, desc: "Pelis Web-DL 1080"}
- {id: 83, cat: Movies/WEB-DL, desc: "Pelis Web-DL 720"}
- {id: 84, cat: Movies/UHD, desc: "UHD Remux x265"}
- {id: 91, cat: Movies/HD, desc: "BDRip x264"}
- {id: 89, cat: Movies/HD, desc: "BDRemux"}
- {id: 88, cat: Movies/BluRay, desc: "Full HD"}
- {id: 90, cat: Movies/BluRay, desc: "UHD Full"}
- {id: 92, cat: Movies/UHD, desc: "Web-DL UHD"}
- {id: 23, cat: TV/Sport, desc: "Deportes"}
- {id: 20, cat: TV/HD, desc: "Series"}
- {id: 31, cat: TV/HD, desc: "Series VOSE"}
- {id: 69, cat: Movies, desc: "Ciclo Cine Clasico"}
- {id: 70, cat: Movies, desc: "Ciclo Clint Eastwood"}
- {id: 71, cat: Movies, desc: "Ciclo Studio Ghibli"}
- {id: 72, cat: Movies, desc: "Ciclo George A. Romero"}
- {id: 73, cat: Movies, desc: "Saga Fast And Furious"}
- {id: 74, cat: Movies, desc: "Saga Crepúsculo"}
- {id: 75, cat: Movies, desc: "Saga The Purge"}
- {id: 79, cat: Movies, desc: "Saga Star Wars"}
- {id: 76, cat: Movies, desc: "x-men saga"}
- {id: 85, cat: Movies, desc: "Sean Connery"}
- {id: 6, cat: Books/EBook, desc: "EBooks"}
- {id: 58, cat: Books/Mags, desc: "Kiosko"}
- {id: 24, cat: TV/Documentary, desc: "Documentales"}
- {id: 32, cat: TV/Documentary, desc: "Documentales VOSE"}
- {id: 49, cat: Books/Technical, desc: "eLearning"}
- {id: 68, cat: Books/Technical, desc: "eLearning Multimedia"}
- {id: 87, cat: Audio/Audiobook, desc: "Audiolibros"}
- {id: 0, cat: Other, desc: "Otros"} # results can have a category of 0, but searching by category 0 returns all results
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
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><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: sort
type: select
label: Sort requested from site
default: 3
options:
3: created
5: seeders
4: size
2: title
- name: type
type: select
label: Order requested from site
default: 2
options:
2: desc
1: asc
- name: info_results
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: index.php
selector: a[href="logout.php"]
search:
paths:
# https://divteam.com/index.php?page=torrents&search=daredevil&category=20;23;31;65;64;60;63;69;70;71;72;73;74;75;76;77;78;80;81;82;83;84&active=1
- path: index.php
inputs:
page: torrents
category: "{{ range .Categories }}{{.}};{{end}}"
search: "{{ .Keywords }}"
# 0 all, 1 activeonly, 2 deadonly
active: 0
# 0 title, 1 title&desc, 2 descr, 3 uploaders, 5 gold, 6 silver, 9 2x, 10 3x, 11 4x, 12 5x
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
# does not support imdbid search and does not supply imdb link in results.
rows:
selector: table.table.table-bordered > tbody > tr:has(a[href^="download.php?id="])
fields:
download:
selector: a[href^="download.php?id="]
attribute: href
title_vose:
selector: a[href^="index.php?page=torrent-details"][onmouseover]:contains("VOSE")
optional: true
filters:
- name: append
args: " English"
title_notvose:
selector: a[href^="index.php?page=torrent-details"][onmouseover]:not(:contains("VOSE"))
optional: true
filters:
- name: append
args: " MULTi/SPANiSH" # DivTeam doesn't bring languages. Usually Original + Spanish.
- name: re_replace
args: ["\\.+", "."] # More than 1 dot -> .
- name: re_replace
args: ["^\\.", ""] # Delete first dot
- name: replace
args: ["UHDRip", "Bluray-2160p"] # Fix for Radarr
- name: replace
args: ["2160p BDRip", "Bluray-2160p"] # Fix for Radarr
title:
text: "{{ if .Result.title_vose }}{{ .Result.title_vose }}{{ else }}{{ .Result.title_notvose }}{{ end }}"
poster:
selector: a[onmouseover][href^="index.php?page=torrent-details"]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) "
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
details:
selector: a[href^="index.php?page=torrent-details"]
attribute: href
size:
selector: td:nth-child(4)
date:
selector: td:nth-child(6)
# auto adjusted by site account profile
filters:
- name: dateparse
args: "dd/MM/yyyy"
seeders:
selector: td:nth-last-child(4)
leechers:
selector: td:nth-last-child(3)
grabs:
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
img[src="images/freeleech.gif"]: 0
img[src="images/gold.png"]: 0
img[src="images/silver.png"]: 0.5
"*": 1
uploadvolumefactor:
case:
img[src="images/2x.png"]: 2
img[src="images/3x.png"]: 3
img[src="images/4x.png"]: 4
img[src="images/5x.png"]: 5
"*": 1
minimumratio:
text: 0.7
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# xbtit customised