Jackett/src/Jackett.Common/Definitions/beyond-hd.yml

101 lines
2.9 KiB
YAML
Raw Normal View History

2019-05-08 23:45:34 +00:00
---
site: beyond-hd
name: Beyond-HD
description: "Without BeyondHD, your HDTV is just a TV"
language: en-us
type: private
encoding: UTF-8
links:
- https://beyond-hd.me/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login:
path: login
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: 1
2019-05-08 23:45:34 +00:00
error:
- selector: div.has-error
test:
path: torrents
search:
paths:
- path: torrents
2019-05-08 23:45:34 +00:00
inputs:
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
description: ""
uploader: ""
imdb: "{{ .Query.IMDBIDShort }}"
tmdb: ""
sorting: created_at
2019-05-08 23:45:34 +00:00
direction: desc
qty: 25
2019-05-08 23:45:34 +00:00
rows:
selector: table > tbody > tr
fields:
category:
selector: a[href*="/categories/"]
attribute: href
filters:
- name: regexp
args: "/categories/.*?\\.(\\d+)"
title:
selector: a.torrent-name
download:
selector: a[href*="/download/"]
attribute: href
details:
selector: a.torrent-name
attribute: href
banner:
optional: true
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["https://via.placeholder.com/600x900", ""]
date:
2019-05-09 19:21:31 +00:00
selector: td:nth-last-child(5)
filters:
- name: timeago
size:
2019-05-09 19:21:31 +00:00
selector: td:nth-last-child(4)
seeders:
2019-05-09 19:21:31 +00:00
selector: td:nth-last-child(3)
leechers:
2019-05-09 19:21:31 +00:00
selector: td:nth-last-child(2)
grabs:
2019-05-09 19:21:31 +00:00
selector: td:nth-last-child(1)
2019-05-08 23:45:34 +00:00
imdb:
optional: true
selector: a[href*="www.imdb.com/title/tt"]
attribute: href
downloadvolumefactor:
case:
"i[data-original-title=\"Personal Freeleech\"]": "0" # 24 Hour FreeLeech From BON Store
"i[data-original-title=\"Special Freeleech\"]": "0" # Special FreeLeech For Certain User Groups
"i[data-original-title=\"Freeleech Token\"]": "0" # Freeleech From Token
"i[data-original-title=\"Global FreeLeech\"]": "0" # Global Freeleech
"i[data-original-title=\"Freeleech\"]": "0" # Freeleech
"i[data-original-title=\"Featured Torrent\"]": "0" # Featured Torrent
"*": "1"
uploadvolumefactor:
case:
"i[data-original-title=\"Double Upload\"]": "2" # Single Torrent Double Upload
"i[data-original-title=\"Global Double Upload\"]": "2" # Global Double Upload
"i[data-original-title=\"Featured Torrent\"]": "2" # Featured Torrent
"*": "1"
2019-05-09 19:21:31 +00:00
# UNIT3D