Jackett/src/Jackett.Common/Definitions/blutopia.yml

112 lines
4.1 KiB
YAML
Raw Normal View History

2017-06-23 17:54:09 +00:00
---
site: blutopia
name: Blutopia
description: "Blutopia (BLU) is a Private Torrent Tracker for HD MOVIES / TV"
2017-06-23 17:54:09 +00:00
language: en-us
type: private
encoding: UTF-8
links:
- https://blutopia.xyz/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Movies, desc: "FANRES"}
modes:
search: [q]
2017-10-17 16:23:32 +00:00
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
2017-06-23 17:54:09 +00:00
login:
path: login
2017-06-23 17:54:09 +00:00
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
2018-11-19 11:09:36 +00:00
- selector: form[action*="/login"] .text-red
2017-06-23 17:54:09 +00:00
test:
path: torrents
2017-06-23 17:54:09 +00:00
search:
paths:
- path: filterTorrents
2017-06-23 17:54:09 +00:00
inputs:
2017-10-17 16:23:32 +00:00
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
uploader: ""
2017-10-17 16:23:32 +00:00
imdb: "{{ .Query.IMDBIDShort }}"
tvdb: ""
tmdb: ""
mal: ""
2017-10-17 16:23:32 +00:00
sorting: created_at
direction: desc
qty: 100
2017-06-23 17:54:09 +00:00
rows:
2018-07-10 16:09:53 +00:00
selector: table > tbody > tr
2017-06-23 17:54:09 +00:00
fields:
2017-10-17 16:23:32 +00:00
category:
selector: a[href*="/categories/"]
attribute: href
filters:
- name: regexp
args: "/categories/.*?\\.(\\d+)"
2017-06-23 17:54:09 +00:00
title:
selector: a.view-torrent
2017-10-17 16:23:32 +00:00
download:
2018-07-10 16:09:53 +00:00
selector: a[href*="/download/"]
2017-06-23 17:54:09 +00:00
attribute: href
details:
selector: a.view-torrent
attribute: href
size:
selector: td:nth-child(5)
2017-06-23 17:54:09 +00:00
seeders:
2018-06-29 15:33:21 +00:00
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
2017-06-23 17:54:09 +00:00
grabs:
selector: td:nth-child(6)
2017-06-23 17:54:09 +00:00
filters:
- name: regexp
2017-10-17 16:23:32 +00:00
args: ([\d\.]+)
2017-06-23 17:54:09 +00:00
date:
2017-10-17 16:23:32 +00:00
selector: time
filters:
# translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portoguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch
- name: re_replace
args: ["(önce|tagasi|geleden|fa|temu|siden|atrás|nazpět|назад|acum|hace|il y a|vor|преди)", "ago"]
- name: re_replace
args: ["(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut)", "minute"]
- name: re_replace
args: ["(dakika|minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten)", "minutes"]
- name: re_replace
args: ["(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur)", "hour"]
- name: re_replace
args: ["(saat|tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden)", "hours"]
- name: re_replace
args: ["(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден)", "day"]
- name: re_replace
args: ["(gün|päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen)", "days"]
- name: re_replace
args: ["(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица)", "week"]
- name: re_replace
args: ["(hafta|nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken)", "weeks"]
- name: re_replace
args: [" (ay|kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|mois|Monat|месец|maand)", "month"]
- name: re_replace
args: [" (ay|kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden)", "months"]
2017-06-23 17:54:09 +00:00
downloadvolumefactor:
case:
"i[data-original-title=\"100% Free\"]": "0" # Single Torrent Freeleech
"i[data-original-title=\"Global FreeLeech\"]": "0" # Global Freeleech
"i[data-original-title=\"Freeleech\"]": "0" # Freeleech
2017-06-23 17:54:09 +00:00
"*": "1"
uploadvolumefactor:
case:
"i[data-original-title=\"Double upload\"]": "2" # Single Torrent Double Upload
"i[data-original-title=\"Double Upload\"]": "2" # Global Double Upload
"*": "1"