2020-10-12 05:33:26 +00:00
---
id : hdonly
name : HD-Only
description : "HD-Only (HD-O) is a FRENCH Private Torrent Tracker for HD MOVIES / TV"
2021-09-07 23:09:51 +00:00
language : fr-FR
2020-10-12 05:33:26 +00:00
type : private
encoding : UTF-8
2023-09-19 23:26:39 +00:00
requestDelay : 2
2020-10-12 05:33:26 +00:00
links :
- https://hd-only.org/
caps :
categorymappings :
2023-09-19 23:26:39 +00:00
- {id: 1, cat: Movies, desc : "Films" }
- {id: 2, cat: TV, desc : "Séries" }
# Fake ids to match release types by desc
- {id: 101, cat: Movies, desc : "Film" }
- {id: 103, cat: Movies/Other, desc : "Dessin animé" }
- {id: 105, cat: TV, desc : "Série" }
- {id: 106, cat: TV/Anime, desc : "Série Animée" }
- {id: 107, cat: Movies/Other, desc : "Film d'animation" }
- {id: 109, cat: Audio/Video, desc : "Concert" }
- {id: 111, cat: TV/Documentary, desc : "Documentaire" }
- {id: 113, cat: Movies/Other, desc : "Court-métrage" }
- {id: 114, cat: Movies/Other, desc : "Clip" }
- {id: 115, cat: Movies/Other, desc : "Démonstration" }
- {id: 121, cat: Other, desc : "Autre" }
2020-10-12 05:33:26 +00:00
modes :
search : [ q]
2023-09-23 10:36:38 +00:00
tv-search : [ q, season, ep, tmdbid, genre]
movie-search : [ q, tmdbid, genre]
2023-09-19 23:26:39 +00:00
allowrawsearch : true
2020-10-12 05:33:26 +00:00
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
2024-02-05 11:39:39 +00:00
- name : 2fa_code
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 HD-Only Web Site. Otherwise just leave it empty."
2020-10-12 05:33:26 +00:00
- name : freeleech
type : checkbox
label : Search freeleech only
default : false
2023-09-19 23:26:39 +00:00
- name : add_hybrid_features_to_filename
type : checkbox
label : Include DV/HDR10 in filename when a release has multiple HDR formats.
default : false
2020-10-12 05:33:26 +00:00
- name : multilang
type : checkbox
2023-02-07 02:27:32 +00:00
label : Replace MULTi by another language in release name
2020-10-12 05:33:26 +00:00
default : false
- name : multilanguage
type : select
2023-02-07 02:27:32 +00:00
label : Replace MULTi by this language
2020-10-12 05:33:26 +00:00
default : FRENCH
options :
2020-10-23 18:32:22 +00:00
FRENCH : FRENCH
2023-02-07 02:27:32 +00:00
MULTi.FRENCH : MULTi.FRENCH
2020-10-23 18:32:22 +00:00
ENGLISH : ENGLISH
2023-02-07 02:27:32 +00:00
MULTi.ENGLISH : MULTi.ENGLISH
2020-10-23 18:32:22 +00:00
VOSTFR : VOSTFR
2023-02-07 02:27:32 +00:00
MULTi.VOSTFR : MULTi.VOSTFR
2020-10-12 05:33:26 +00:00
- name : vostfr
type : checkbox
2023-02-07 02:27:32 +00:00
label : Replace VOSTFR and SUBFRENCH with ENGLISH
2020-10-12 05:33:26 +00:00
default : false
- name : sort
type : select
label : Sort requested from site
2020-10-23 18:32:22 +00:00
default : time
2020-10-12 05:33:26 +00:00
options :
2020-10-23 18:32:22 +00:00
time : created
seeders : seeders
size : size
2020-10-12 05:33:26 +00:00
- name : type
type : select
label : Order requested from site
2020-10-23 18:32:22 +00:00
default : desc
2020-10-12 05:33:26 +00:00
options :
2020-10-23 18:32:22 +00:00
desc : desc
asc : asc
2020-10-12 05:33:26 +00:00
login :
path : login.php
method : post
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
2024-02-05 11:39:39 +00:00
twofa : "{{ .Config.2fa_code }}"
2020-10-12 05:33:26 +00:00
keeplogged : 1
error :
- selector : form#loginform > span.warning
test :
path : torrents.php
selector : a[href^="logout.php?auth="]
search :
2023-09-17 01:31:24 +00:00
# https://hd-only.org/torrents.php?filelist=blood+2009&freetorrent=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1
2023-09-19 23:26:39 +00:00
paths :
- path : ajax.php
response :
type : json
2020-10-12 05:33:26 +00:00
inputs :
2023-09-19 23:46:21 +00:00
# does not support categories, uses releasetype for single filter, so we cannot do multi releasetype filtering either.
2020-11-17 06:29:02 +00:00
# $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
2023-09-19 23:26:39 +00:00
searchstr : "{{ .Keywords }}"
2023-09-23 10:36:38 +00:00
tmdb : "{{ .Query.TMDBID }}"
2023-09-17 01:31:24 +00:00
taglist : "{{ .Query.Genre }}"
2023-09-19 23:26:39 +00:00
action : browse
group_results : 0
2020-10-12 05:33:26 +00:00
order_by : "{{ .Config.sort }}"
order_way : "{{ .Config.type }}"
2023-09-17 01:31:24 +00:00
# 1 freeleech, 0 normal
2020-10-12 05:33:26 +00:00
freetorrent : "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
# site does not support imdbid search or display imdb links in results
2023-09-17 01:31:24 +00:00
keywordsfilters :
2023-09-23 11:27:07 +00:00
# strip season
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-23 11:27:07 +00:00
args : [ "(?i)\\bS\\d{1,3}\\b" , "" ]
2023-09-17 01:31:24 +00:00
- name : trim
2020-10-12 05:33:26 +00:00
rows :
2023-09-19 23:26:39 +00:00
selector : response.results
2020-10-12 05:33:26 +00:00
fields :
2023-09-19 23:26:39 +00:00
_group_id :
selector : group.groupId
_torrent_id :
selector : torrentId
category :
selector : group.categoryId
categorydesc|append :
selector : group.releaseType
optional : true
details :
text : "torrents.php?id={{ .Result._group_id }}&torrentid={{ .Result._torrent_id }}"
2020-10-12 05:33:26 +00:00
download :
2023-09-19 23:26:39 +00:00
text : "torrents.php?action=download&id={{ .Result._torrent_id }}"
2023-09-17 01:31:24 +00:00
genre :
2023-09-19 23:26:39 +00:00
selector : group.tags
2023-09-17 01:31:24 +00:00
filters :
- name : re_replace
args : [ "(?i)(science.fiction)" , "science_fiction" ]
2023-09-19 23:26:39 +00:00
poster :
selector : group.cover
2023-09-17 01:31:24 +00:00
optional : true
2023-09-19 23:26:39 +00:00
tmdbid :
selector : group.tmdb
files :
selector : fileCount
seeders :
selector : seeders
leechers :
selector : leechers
grabs :
selector : snatches
size :
selector : size
date :
selector : time
2023-09-17 01:31:24 +00:00
filters :
2023-09-19 23:26:39 +00:00
- name : append
args : " +00:00" # GMT
- name : dateparse
args : "yyyy-MM-dd HH:mm:ss zzz"
year :
selector : group.groupYear
optional : true
_season :
selector : season
optional : true
2020-10-12 05:33:26 +00:00
filters :
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^0$" , "" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^([1-9])$" , "S0$1" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^(\\d{2,})$" , "S$1" ]
_episode :
selector : episode
optional : true
filters :
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^0$" , "" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^([1-9])$" , "E0$1" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "^(\\d{2,})$" , "E$1" ]
_episode_info :
text : "{{ .Result._season }}{{ .Result._episode }}"
_format :
selector : format
filters :
- name : replace
args : [ "Blu-Ray Original" , "COMPLETE BLURAY" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "Blu-Ray Remux" , "Remux" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "Blu-Ray Rip" , "BluRay.Rip" ]
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "mHD" , "mHD.BluRay.Rip" ]
_encoding :
selector : encoding
_release_group :
selector : team
optional : true
_media :
selector : media
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_vff :
selector : vff
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_vfq :
selector : vfq
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_vfi :
selector : vfi
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_vf :
selector : vf
2023-09-24 13:06:25 +00:00
optional : true
2023-09-23 10:36:38 +00:00
_vof :
selector : vof
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_hdr :
selector : hdr
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_hdr10plus :
selector : hdr10plus
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
_dovi :
selector : dovi
2023-09-24 13:06:25 +00:00
optional : true
2023-09-19 23:26:39 +00:00
title_optional :
selector : group.groupName
filters :
- name : append
args : ".{{ .Result.year }}.{{ .Result._episode_info }}.{{ .Result._format }}.{{ .Result._encoding }}.{{ .Result._media }}{{ if eq .Result._hdr \"True\" }}.HDR{{ else }}{{ end }}.{{ if eq .Result._hdr10plus \"True\" }}.HDR10+{{ else }}{{ end }}.{{ if eq .Result._dovi \"True\" }}.DoVi{{ else }}{{ end }}"
- name : append
args : "{{ if or (eq .Result._vff \"True\") (eq .Result._vfq \"True\") }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vfi \"True\") (eq .Result._vf \"True\") }}.MULTI{{ else }}{{ end }}"
2020-10-12 05:33:26 +00:00
- name : replace
2023-09-19 23:26:39 +00:00
args : [ ".MULTI.MULTI" , ".MULTI" ]
- name : append
2023-09-23 10:36:38 +00:00
args : "{{ if eq .Result._vof \"True\" }}.FRENCH{{ else }}{{ end }}"
2023-09-17 01:31:24 +00:00
- name : re_replace
2023-09-19 23:26:39 +00:00
args : [ "[\\s.]+" , "." ]
2023-09-17 01:31:24 +00:00
- name : re_replace
args : [ "\\.*([\\-:,])\\.*" , "$1" ]
- name : trim
2023-09-19 23:26:39 +00:00
- name : trim
args : .
2023-09-17 01:31:24 +00:00
- name : append
args : "{{ if .Result._release_group }}-{{ .Result._release_group }}{{ else }}{{ end }}"
2023-09-19 23:26:39 +00:00
_filename :
selector : "fileName"
optional : true
filters :
- name : replace
args : [ ".mkv" , "" ]
- name : append
args : " {{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr \"True\") }}[HDR]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr10plus \"True\") }}[HDR10+]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._dovi \"True\") }}[DoVi]{{ else }}{{ end }}"
title_phase1 :
text : "{{ if and (eq .Result.files \"1\") (.Result._filename) }}{{ .Result._filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
2023-02-07 02:27:32 +00:00
title_vostfr :
2020-10-12 05:33:26 +00:00
text : "{{ .Result.title_phase1 }}"
filters :
- name : re_replace
2023-02-07 02:27:32 +00:00
args : [ "(?i)\\b(vostfr|subfrench)\\b" , "ENGLISH" ]
2020-10-12 05:33:26 +00:00
title_phase2 :
2023-02-07 02:27:32 +00:00
text : "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
title_multilang :
2020-10-12 05:33:26 +00:00
text : "{{ .Result.title_phase2 }}"
filters :
- name : re_replace
2023-02-07 02:27:32 +00:00
args : [ "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b" , "{{ .Config.multilanguage }}" ]
2020-10-12 05:33:26 +00:00
title :
2023-02-07 02:27:32 +00:00
text : "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
2020-10-12 05:33:26 +00:00
description :
2023-09-19 23:26:39 +00:00
text : "{{ .Result._filename }}"
_free :
selector : isFreeleech
2020-10-12 05:33:26 +00:00
downloadvolumefactor :
2023-09-19 23:26:39 +00:00
text : "{{ if eq .Result._free \"True\" }}0{{ else }}1{{ end }}"
2020-10-12 05:33:26 +00:00
uploadvolumefactor :
text : 1
minimumratio :
text : 1.0
minimumseedtime :
# 3 days (as seconds = 3 x 24 x 60 x 60)
text : 259200
2023-09-19 23:26:39 +00:00
# JSON Gazelle