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

103 lines
2.5 KiB
YAML
Raw Normal View History

2017-06-23 17:54:09 +00:00
---
site: blutopia
name: Blutopia
description: "HD Movie tracker"
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: /filter
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}}"
imdb: "{{ .Query.IMDBIDShort }}"
tvdb: ""
tmdb: ""
sorting: created_at
direction: desc
qty: 100
preprocessingfilters:
- name: jsonjoinarray
args: ["$.result", ""]
- name: prepend
args: "<table>"
- name: append
args: "</table>"
2017-06-23 17:54:09 +00:00
rows:
2017-10-17 16:23:32 +00:00
selector: 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:
selector: a[href*="/download_check/"]
2017-06-23 17:54:09 +00:00
attribute: href
filters:
- name: replace
2017-10-17 16:23:32 +00:00
args: ["/download_check/", "/download/"]
2017-06-23 17:54:09 +00:00
details:
selector: a.view-torrent
attribute: href
2017-10-17 16:23:32 +00:00
imdb:
optional: true
selector: a[href*="://www.imdb.com/title/"]
attribute: href
2017-06-23 17:54:09 +00:00
size:
2017-10-17 16:23:32 +00:00
selector: td:nth-child(5)
2017-06-23 17:54:09 +00:00
seeders:
selector: td:nth-child(7)
2017-10-17 16:23:32 +00:00
leechers:
selector: td:nth-child(8)
2017-06-23 17:54:09 +00:00
grabs:
2017-10-17 16:23:32 +00:00
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
attribute: datetime
2017-06-23 17:54:09 +00:00
filters:
- name: append
2017-10-17 16:23:32 +00:00
args: " +00:00"
2017-10-17 16:41:01 +00:00
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
2017-06-23 17:54:09 +00:00
downloadvolumefactor:
case:
2017-10-17 16:23:32 +00:00
"i[data-original-title=\"100% Free\"]": "0"
2017-10-24 10:24:36 +00:00
"i[data-original-title=\"Global FreeLeech\"]": "0"
2017-06-23 17:54:09 +00:00
"*": "1"
uploadvolumefactor:
case:
2017-10-17 16:23:32 +00:00
"i[data-original-title=\"Double upload\"]": "2"
2017-06-23 17:54:09 +00:00
"*": "1"