2020-03-03 16:28:26 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: uhdbits
|
2020-05-10 20:05:19 +00:00
|
|
|
name: UHDBits
|
2022-10-30 20:21:35 +00:00
|
|
|
description: "UHDBits is a Private Torrent Tracker for UHD Movies / TV"
|
2021-09-07 23:09:51 +00:00
|
|
|
language: en-US
|
2020-05-10 20:05:19 +00:00
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://uhdbits.org/
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
2020-11-04 02:28:08 +00:00
|
|
|
categorymappings:
|
|
|
|
- {id: 1, cat: Movies, desc: Movies}
|
|
|
|
- {id: 2, cat: Audio, desc: Music}
|
|
|
|
- {id: 3, cat: TV, desc: TV}
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
2020-10-19 03:56:16 +00:00
|
|
|
search: [q]
|
2023-04-17 19:46:46 +00:00
|
|
|
tv-search: [q, season, ep, imdbid]
|
2020-05-10 20:05:19 +00:00
|
|
|
movie-search: [q, imdbid]
|
|
|
|
music-search: [q]
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-05-15 04:28:47 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
|
|
|
- name: 2facode
|
|
|
|
type: text
|
|
|
|
label: 2FA code
|
|
|
|
- name: info_2fa
|
|
|
|
type: info
|
|
|
|
label: "About 2FA code"
|
|
|
|
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the UHDBits Web Site. Otherwise just leave it empty."
|
2020-09-15 21:48:14 +00:00
|
|
|
- name: freeleech
|
|
|
|
type: checkbox
|
|
|
|
label: Search freeleech only
|
|
|
|
default: false
|
|
|
|
- name: sort
|
|
|
|
type: select
|
|
|
|
label: Sort requested from site
|
2020-10-24 06:20:51 +00:00
|
|
|
default: time
|
2020-09-15 21:48:14 +00:00
|
|
|
options:
|
2020-10-24 06:20:51 +00:00
|
|
|
time: created
|
|
|
|
seeders: seeders
|
|
|
|
size: size
|
2020-09-15 21:48:14 +00:00
|
|
|
- name: type
|
|
|
|
type: select
|
|
|
|
label: Order requested from site
|
2020-10-24 06:20:51 +00:00
|
|
|
default: desc
|
2020-09-15 21:48:14 +00:00
|
|
|
options:
|
2020-10-24 06:20:51 +00:00
|
|
|
desc: desc
|
|
|
|
asc: asc
|
2020-05-15 04:28:47 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
path: login.php
|
|
|
|
form: form.auth_form
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
2020-05-15 04:28:47 +00:00
|
|
|
two_step: "{{ .Config.2facode }}"
|
|
|
|
keeplogged: 1
|
2020-05-10 20:05:19 +00:00
|
|
|
error:
|
2020-05-12 23:07:31 +00:00
|
|
|
- selector: .auth_form > .warning
|
2020-05-10 20:05:19 +00:00
|
|
|
test:
|
2023-02-16 11:31:31 +00:00
|
|
|
path: index.php
|
|
|
|
selector: a[href^="logout.php?auth="]
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
|
|
|
paths:
|
2020-09-15 21:48:14 +00:00
|
|
|
# https://uhdbits.org/torrents.php?groupname=&filelist=&description=&artistname=&recordlabel=&remastertitle=&remasterrecordlabel=&rating=0&rating1=10&freetorrent=1&searchstr=&taglist=&tags_type=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1
|
2020-05-10 20:05:19 +00:00
|
|
|
- path: torrents.php
|
|
|
|
inputs:
|
|
|
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
2023-02-16 11:31:31 +00:00
|
|
|
searchstr: "{{ .Keywords }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
imdbid: "{{ .Query.IMDBIDShort }}"
|
|
|
|
tags_type: 1
|
2020-09-15 21:48:14 +00:00
|
|
|
freetorrent: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
|
|
|
order_by: "{{ .Config.sort }}"
|
|
|
|
order_way: "{{ .Config.type }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
action: advanced
|
|
|
|
searchsubmit: 1
|
2021-12-13 12:22:31 +00:00
|
|
|
|
2020-12-07 18:40:36 +00:00
|
|
|
keywordsfilters:
|
2021-12-13 12:22:31 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["\\.", " "]
|
2020-12-07 18:40:36 +00:00
|
|
|
# if searching for season packs switch S01 to season 1 #10423
|
|
|
|
- name: re_replace
|
2023-02-16 11:31:31 +00:00
|
|
|
args: ["(?i)\\bS(\\d{1,3})(E\\d+)?$", "season $1"]
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table#torrent_table > tbody > tr.torrent
|
2020-11-04 02:28:08 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
fields:
|
2023-02-16 19:05:11 +00:00
|
|
|
# note: there are optional extra colums
|
|
|
|
category_id:
|
2020-05-15 04:28:47 +00:00
|
|
|
selector: a[href^="torrents.php?filter_cat"]
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: regexp
|
2020-11-04 02:28:08 +00:00
|
|
|
args: "\\[(\\d+)\\]"
|
2023-02-16 19:05:11 +00:00
|
|
|
category:
|
|
|
|
text: "{{ .Result.category_id }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
download:
|
2023-02-16 11:31:31 +00:00
|
|
|
selector: a[href^="torrents.php?action=download&id="]
|
2020-05-10 20:05:19 +00:00
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["\t", " "]
|
|
|
|
details:
|
|
|
|
selector: a.torrent_name
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["\t", " "]
|
|
|
|
- name: regexp
|
|
|
|
args: (.*)#torrent\d+$
|
|
|
|
size:
|
|
|
|
selector: td[class="number_column nobr"]
|
|
|
|
grabs:
|
|
|
|
selector: td[class="number_column nobr"] ~ td
|
|
|
|
files:
|
|
|
|
selector: td:nth-child(3)
|
|
|
|
seeders:
|
|
|
|
selector: td[class="number_column nobr"] ~ td ~ td
|
|
|
|
leechers:
|
|
|
|
selector: td[class="number_column nobr"] ~ td ~ td ~ td
|
|
|
|
date:
|
|
|
|
selector: td:nth-child(5) > span[title]
|
|
|
|
attribute: title
|
|
|
|
filters:
|
|
|
|
- name: replace
|
2020-05-12 23:07:31 +00:00
|
|
|
args: [",", ""]
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: append
|
2020-10-24 06:20:51 +00:00
|
|
|
args: " +07:00" # ICT
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
2023-02-24 08:14:58 +00:00
|
|
|
args: "MMM dd yyyy HH:mm zzz"
|
2020-05-15 04:28:47 +00:00
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
|
|
|
"strong.blink_me:contains(\"Free\")": 0
|
|
|
|
"strong.blink_me:contains(\"50\")": 0.5
|
|
|
|
"strong.blink_me:contains(\"25\")": 0.75
|
|
|
|
"strong.blink_me:contains(\"75\")": 0.25
|
|
|
|
"*": 1
|
|
|
|
uploadvolumefactor:
|
|
|
|
case:
|
|
|
|
"strong.blink_me:contains(\"2x\")": 2
|
|
|
|
"*": 1
|
2020-09-15 21:48:14 +00:00
|
|
|
minimumratio:
|
|
|
|
text: 0.6
|
2023-02-16 11:31:31 +00:00
|
|
|
_release_info:
|
|
|
|
selector: div.torrent_info
|
|
|
|
remove: .torrent_label.red, .torrent_label.blink_me, .torrent_label:contains("User"), .torrent_label:contains("ViE"), .torrent_label:contains("Exclusive")
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["[\\s\\/]+$", ""]
|
|
|
|
- name: replace
|
|
|
|
args: [" / ", " "]
|
|
|
|
- name: re_replace
|
2023-02-16 19:05:11 +00:00
|
|
|
args: ["\\s+([\\w@\\.\\[\\]\\$\\-\\!\\u2122]+)$", " -$1"]
|
2023-02-16 11:31:31 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["\\bEncode\\b", "Blu-Ray"]
|
|
|
|
- name: re_replace
|
2023-11-09 02:00:53 +00:00
|
|
|
args: ["\\b(H\\.264 )?Blu-ray\\b", "BR-DISK"]
|
2023-02-16 11:31:31 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["\\bRemux\\b", "Blu-Ray Remux"]
|
|
|
|
- name: re_replace
|
|
|
|
args: ["\\s+", " "]
|
2023-02-16 19:05:11 +00:00
|
|
|
_release_info_music:
|
|
|
|
selector: div.torrent_info
|
|
|
|
remove: .torrent_label.red, .torrent_label.blink_me
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["[\\s\\/]+$", ""]
|
|
|
|
- name: replace
|
|
|
|
args: [" / ", " "]
|
|
|
|
- name: re_replace
|
|
|
|
args: ["\\s+", " "]
|
2023-02-16 11:31:31 +00:00
|
|
|
title:
|
|
|
|
selector: div.group_info
|
|
|
|
remove: span, div.tags, div.torrent_info
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["(?i)\\bSeason (\\d+)\\b", "S$1"]
|
|
|
|
- name: trim
|
|
|
|
- name: append
|
2023-02-16 19:05:11 +00:00
|
|
|
args: " {{ if eq .Result.category_id \"2\" }}{{ .Result._release_info_music }}{{ else }}{{ .Result._release_info }}{{ end }}"
|
2023-02-16 11:31:31 +00:00
|
|
|
# Gazelle
|