2019-12-09 23:18:13 +00:00
---
2020-05-11 19:59:28 +00:00
id : beyond-hd-oneurl
2020-05-10 20:05:19 +00:00
name : Beyond-HD (OneURL)
2020-10-24 04:54:41 +00:00
description : "This is BeyondHD using OneURL (for those that have enabled 2FA)"
2020-05-10 20:05:19 +00:00
language : en-us
type : private
encoding : UTF-8
links :
- https://beyond-hd.me/
2019-12-09 23:18:13 +00:00
2020-07-30 21:39:51 +00:00
caps :
categorymappings :
- {id: 1, cat: Movies, desc : "Movies" }
- {id: 2, cat: TV, desc : "TV" }
modes :
2020-10-19 03:56:16 +00:00
search : [ q]
2020-07-30 21:39:51 +00:00
tv-search : [ q, season, ep, imdbid]
movie-search : [ q, imdbid]
2020-05-10 20:05:19 +00:00
settings :
- name : oneurl
type : text
label : OneURL
2020-10-24 04:54:41 +00:00
- name : info_oid
type : info
label : "About One-URL"
default : "<li>OneURL is found by accessing your Beyond-HD web site,</li><li>hovering over the <b>user icon</b></li><li>and going to <b>My Security</b></li><li>then going to the <b>One URL (OID)</b> tab,</li><li>and if it's not already active, you need to hit <b>Reset One URL</b> to activate it.</li><li>Then use that link here.</li>"
2020-05-10 20:05:19 +00:00
- name : sort
type : select
label : Sort requested from site
2020-10-23 05:22:00 +00:00
default : created_at
2020-05-10 20:05:19 +00:00
options :
2020-10-23 05:22:00 +00:00
created_at : created
seeders : seeders
size : size
name : title
2020-05-10 20:05:19 +00:00
- name : type
type : select
label : Order requested from site
2020-10-23 05:22:00 +00:00
default : desc
2020-05-10 20:05:19 +00:00
options :
2020-10-23 05:22:00 +00:00
desc : desc
asc : asc
2019-12-09 23:18:13 +00:00
2020-05-10 20:05:19 +00:00
login :
method : oneurl
2020-05-10 21:19:20 +00:00
inputs :
2020-05-10 20:05:19 +00:00
oneurl : "{{ .Config.oneurl }}"
test :
path : torrents
2019-12-09 23:18:13 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : torrents
inputs :
$raw : "{{ range .Categories }}categories[]={{.}}&{{end}}"
2020-07-30 21:39:51 +00:00
search : "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
2020-05-10 20:05:19 +00:00
uploader : ""
imdb : "{{ .Query.IMDBIDShort }}"
tmdb : ""
sorting : "{{ .Config.sort }}"
direction : "{{ .Config.type }}"
qty : 100
2019-12-13 06:07:50 +00:00
2020-05-10 20:05:19 +00:00
rows :
2020-07-30 21:39:51 +00:00
selector : div.table-torrents > table > tbody > tr
2020-05-10 20:05:19 +00:00
after : 1
2019-12-13 06:07:50 +00:00
2020-05-10 20:05:19 +00:00
fields :
_category :
selector : a[href*="/categories/"]
optional : true
attribute : href
filters :
- name : regexp
args : "/categories/.*?\\.(\\d+)"
category :
2020-07-30 21:39:51 +00:00
text : "{{ if .Result._category }}{{ .Result._category }}{{ else }}1{{ end }}"
2020-05-10 20:05:19 +00:00
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 : [ "/img/person.png" , "" ]
date :
selector : td:not(a[href$="/history"]) span.text-orange
filters :
- name : timeago
size :
selector : td span.text-blue
seeders :
selector : a[href$="/peers"] span.text-green
leechers :
selector : a[href$="/peers"] span.text-red
grabs :
selector : a[href$="/history"]
imdb :
optional : true
2020-05-25 03:17:44 +00:00
selector : a[href*="imdb.com/title/tt"]
2020-05-10 20:05:19 +00:00
attribute : href
downloadvolumefactor :
case :
i[data-original-title="100% Free"]: 0
i[data-original-title="100% Free (Limited UL)"]: 0
i[data-original-title="25% Promo"]: 0.75
i[data-original-title="50% Promo"]: 0.5
i[data-original-title="75% Promo"]: 0.25
"*": 1
uploadvolumefactor :
text : 1
2020-07-30 21:39:51 +00:00
# UNIT3D (custom)