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

87 lines
2.1 KiB
YAML
Raw Normal View History

2017-06-23 17:54:09 +00:00
---
site: blutopia
name: Blutopia
description: "HD Tracker Movies/TV/FANRES"
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
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table.main:contains("Login Failed!")
test:
path: /torrents
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
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
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"