2019-12-19 17:15:24 +00:00
---
2020-05-11 19:59:28 +00:00
id : hdtorrentsit
2020-05-10 20:05:19 +00:00
name : HDTorrents.it
description : "HDTorrents.it is an ITALIAN Private site for TV / MOVIES"
2021-09-07 23:09:51 +00:00
language : it-IT
2020-05-10 20:05:19 +00:00
type : private
encoding : UTF-8
links :
2020-05-15 21:06:58 +00:00
- https://hdtorrents.xyz/ # Italian IP address filtering
2020-05-10 20:05:19 +00:00
legacylinks :
- http://hdtorrents.it/
- http://hdtorrents.xyz/
2019-12-19 17:15:24 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
- {id: 2040, cat : Movies/HD}
- {id: 5040, cat : TV/HD}
modes :
search : [ q]
tv-search : [ q, season, ep]
movie-search : [ q]
2019-12-19 17:15:24 +00:00
2020-05-10 20:05:19 +00:00
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
- name : ip_filtering
type : info
label : "IP Filtering"
2023-02-25 12:16:11 +00:00
default : "The <b>404 Not Found</b> error means your IP was not accepted. Check the <a href=\"https://check-host.net/check-report/e5b649bkfa\" target=\"_blank\">Locations report</a>, only those with a Status of <b>OK</b> will be accepted."
2020-02-01 18:22:20 +00:00
2020-05-10 20:05:19 +00:00
login :
path : takelogin.php
method : post
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
error :
2020-05-12 23:07:31 +00:00
- selector : div.error
- selector : h1:contains("404 Not Found")
2020-05-10 20:05:19 +00:00
test :
path : browse.php
2019-12-19 17:15:24 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : browse.php
method : post
keywordsfilters :
- name : re_replace
args : [ "[^a-zA-Z0-9]+" , "%" ]
- name : diacritics
args : replace
2020-05-13 22:01:00 +00:00
- name : re_replace # remove SXXEYY from research
2020-11-14 22:12:59 +00:00
args : [ "(?i)(S\\d{1,2}E\\d{1,2})" , "" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # remove SXX from research
2020-11-14 22:12:59 +00:00
args : [ "(?i)(S\\d{1,2})" , "" ]
2020-05-10 20:05:19 +00:00
inputs :
ajax : false
search : "{{ .Keywords }}"
incldead : 0
2020-11-14 22:12:59 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : tbody#highlighted tr
2020-11-14 22:12:59 +00:00
2020-05-10 20:05:19 +00:00
fields :
2022-07-21 04:11:40 +00:00
year :
2021-10-22 03:22:49 +00:00
selector : td:nth-child(2) a:nth-child(1)
filters :
- name : regexp # find torrent year
args : (\d{4})
2022-07-19 07:18:10 +00:00
_quality : # (BDRip 1080, BDRip 720p etc)
2021-10-22 03:22:49 +00:00
selector : td:nth-child(1) a:nth-child(1) img
attribute : alt
2022-07-19 07:18:10 +00:00
_audio : # ita audio TAG
2021-10-22 03:22:49 +00:00
selector : a[href^="download.php?id="]
attribute : href
filters :
- name : querystring
args : name
- name : regexp
args : (DTS AC3 ITA|DTS ITA|AC3 ITA)
- name : re_replace
args : [ "ITA" , "" ]
2020-05-10 20:05:19 +00:00
title :
selector : td:nth-child(2) a:nth-child(1)
filters :
2020-05-13 22:01:00 +00:00
- name : re_replace # separate title
2020-05-10 20:05:19 +00:00
args : [ "(\\s+\\/\\s+|\\/\\s+|\\s+\\/|\\/)(.*)\\s\\(" , " (" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # remove (yyyy) from the title
2020-05-10 20:05:19 +00:00
args : [ "(\\(\\d{4}\\)?\\s?)" , "" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # remove |
2020-05-10 20:05:19 +00:00
args : [ "(\\s\\||\\s\\/)" , "" ]
- name : re_replace # Stagione X --> S0X
args : [ "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b" , "S0$1$2" ]
- name : re_replace # Stagione XX --> SXX
args : [ "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b" , "S$1$2" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # / Episodio [YY-YY --> EYY-YY
2020-05-10 20:05:19 +00:00
args : [ "(?i)(\\s\\/?\\s?Episodi[o]?)\\s\\[" , "E" ]
- name : re_replace # Episodio 4 to E4
args : [ "(?i)\\b(?:[\\s\\/\\|]?Episodi[o]?\\s?(\\d+)|Puntata\\s?(\\d+))" , "E$1$2" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # / Completa [episodi YY-YY --> EYY-YY
2020-05-10 20:05:19 +00:00
args : [ "(?i)(\\s\\/\\sCompleta\\s\\[episodi\\s)" , "E" ]
2020-05-13 22:01:00 +00:00
- name : re_replace # remove di YY] | remove /YY]
2020-05-10 20:05:19 +00:00
args : [ "(?i)(\\sdi\\s\\d{1,2}|\\/\\d{1,2})\\]" , " " ]
2020-05-13 22:01:00 +00:00
- name : re_replace # remove various
2020-05-10 20:05:19 +00:00
args : [ "(?i)(Serie completa|Completa|\\[in pausa\\])" , "" ]
2021-10-22 03:22:49 +00:00
- name : append
2022-07-21 04:11:40 +00:00
args : " ({{ .Result.year }}) [{{ .Result._quality }} - {{ .Result._audio }} ITA]"
2020-05-10 20:05:19 +00:00
- name : re_replace # replace multiple spaces
args : [ "[ ]{2,}" , " " ]
details :
selector : td:nth-child(2) a:nth-child(1)
attribute : href
2020-11-07 23:43:33 +00:00
poster :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(2)[onmousemove]
attribute : onmousemove
filters :
- name : regexp
args : ".*\\(.*,.*,.*,'(.*?)'\\)"
download :
selector : a[href^="download.php?id="]
attribute : href
size :
selector : td:nth-child(3)
2023-03-20 21:18:07 +00:00
seeders :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(4)
optional : true
2023-03-20 21:18:07 +00:00
default : 1
2020-05-10 20:05:19 +00:00
filters :
- name : re_replace
args : [ "(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)" , "$1" ]
2023-03-20 21:18:07 +00:00
leechers :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(4)
optional : true
2023-03-20 21:18:07 +00:00
default : 1
2020-05-10 20:05:19 +00:00
filters :
- name : re_replace
args : [ "(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)" , "$2" ]
date :
selector : td:nth-child(2) i
filters :
- name : append
2020-11-14 22:12:59 +00:00
args : " +02:00" # EET
2020-05-10 20:05:19 +00:00
- name : dateparse
2023-02-24 07:02:57 +00:00
args : "yyyy-MM-dd HH:mm:ss zzz"
2020-05-10 20:05:19 +00:00
category :
case :
"a[href^=\"details.php\"]:contains(\"Stagione\")": 5040 # TV/HD
"*": 2040 # default to Movies/HD
downloadvolumefactor :
case :
2020-11-14 22:12:59 +00:00
img[src="pic/freedownload.gif"]: 0
"*": 1
2020-05-10 20:05:19 +00:00
uploadvolumefactor :
2020-11-14 22:12:59 +00:00
text : 1
# engine tbd