2017-03-23 04:39:56 +00:00
|
|
|
---
|
2017-03-23 04:43:27 +00:00
|
|
|
site: hdtorrentsit
|
2017-03-23 04:39:56 +00:00
|
|
|
name: HDTorrents.it
|
2017-10-04 05:05:10 +00:00
|
|
|
description: "HDTorrents.it is an ITALIAN Private site for TV / MOVIES"
|
2017-03-23 04:39:56 +00:00
|
|
|
language: it-it
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- http://hdtorrents.it/
|
|
|
|
|
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {id: 2040, cat: Movies/HD}
|
|
|
|
- {id: 5040, cat: TV/HD}
|
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
|
|
|
|
login:
|
|
|
|
path: takelogin.php
|
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
error:
|
|
|
|
- selector: div.error
|
|
|
|
test:
|
|
|
|
path: browse.php
|
|
|
|
|
|
|
|
search:
|
|
|
|
paths:
|
|
|
|
- path: browse.php
|
|
|
|
method: post
|
2017-10-03 10:48:31 +00:00
|
|
|
keywordsfilters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["[^a-zA-Z0-9]+", "%"]
|
|
|
|
- name: diacritics
|
|
|
|
args: replace
|
|
|
|
- name: re_replace #remove SXXEYY from research
|
|
|
|
args: ["(S\\d{1,2}E\\d{1,2})", ""]
|
|
|
|
- name: re_replace #remove SXX from research
|
|
|
|
args: ["(S\\d{1,2})", ""]
|
2017-03-23 04:39:56 +00:00
|
|
|
inputs:
|
|
|
|
ajax: false
|
2017-10-03 10:48:31 +00:00
|
|
|
search: "{{ .Keywords }}"
|
2017-03-23 04:39:56 +00:00
|
|
|
incldead: 0
|
|
|
|
rows:
|
|
|
|
selector: tbody#highlighted tr
|
|
|
|
fields:
|
|
|
|
title:
|
|
|
|
selector: td:nth-child(2) a:nth-child(1)
|
|
|
|
filters:
|
2017-10-03 10:48:31 +00:00
|
|
|
- name: re_replace #separate title
|
|
|
|
args: ["(\\s+\\/\\s+|\\/\\s+|\\s+\\/|\\/)(.*)\\s\\(", " ("]
|
|
|
|
- name: re_replace #remove (yyyy) from the title
|
|
|
|
args: ["(\\(\\d{4}\\))|(\\(\\d{4})", ""]
|
|
|
|
- name: re_replace #remove |
|
|
|
|
args: ["(\\s\\|\\s)", " "]
|
|
|
|
- name: re_replace #Stagione X --> S0X
|
|
|
|
args: ["Stagione (\\d{0,1}\\s)", "S0$1"]
|
|
|
|
- name: re_replace #Stagione XX --> SXX
|
|
|
|
args: ["Stagione (\\d{2}\\s)", "S$1"]
|
|
|
|
- name: re_replace #/ Episodio [YY-YY --> EYY-YY
|
|
|
|
args: ["(\\s\\/\\sEpisodio|\\s\\/\\sEpisodi|\\sEpisodio|\\s\\|\\sEpisodio|\\sEpisodi)\\s\\[", "E"]
|
|
|
|
- name: re_replace #/ Completa [episodi YY-YY --> EYY-YY
|
|
|
|
args: ["(\\s\\/\\sCompleta\\s\\[episodi\\s)", "E"]
|
|
|
|
- name: re_replace #remove di YY] | remove /YY]
|
|
|
|
args: ["(\\sdi\\s\\d{1,2}|\\/\\d{1,2})\\]", " "]
|
|
|
|
- name: re_replace #remove various
|
|
|
|
args: ["(Serie completa|Completa|\\[in pausa\\])", ""]
|
|
|
|
title|append: #start year
|
|
|
|
text: "("
|
|
|
|
title|append: #add year
|
|
|
|
selector: td:nth-child(2) a:nth-child(1)
|
|
|
|
filters:
|
|
|
|
- name: regexp #find torrent year
|
|
|
|
args: (\d{4})
|
|
|
|
title|append: #end year
|
|
|
|
text: ") "
|
|
|
|
title|append: #start quality TAG
|
|
|
|
text: "["
|
|
|
|
title|append: #quality TAG (BDRip 1080, BDRip 720p etc)
|
|
|
|
selector: td:nth-child(1) a:nth-child(1) img
|
|
|
|
attribute: alt
|
|
|
|
title|append: #separator
|
|
|
|
text: " - "
|
|
|
|
title|append: #ita audio TAG
|
|
|
|
selector: a[href^="download.php?id="]
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: querystring
|
|
|
|
args: name
|
|
|
|
- name: regexp
|
|
|
|
args: (DTS AC3 ITA|DTS ITA|AC3 ITA)
|
2017-03-23 04:39:56 +00:00
|
|
|
- name: re_replace
|
2017-10-03 10:48:31 +00:00
|
|
|
args: ["ITA", ""]
|
|
|
|
title|append: #end TAG
|
|
|
|
text: "ITA]"
|
2017-03-23 04:39:56 +00:00
|
|
|
details:
|
|
|
|
selector: td:nth-child(2) a:nth-child(1)
|
|
|
|
attribute: href
|
|
|
|
banner:
|
|
|
|
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)
|
|
|
|
seeders:
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$1"]
|
|
|
|
leechers:
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$2"]
|
|
|
|
date:
|
|
|
|
selector: td:nth-child(2) i
|
|
|
|
filters:
|
2017-10-03 10:48:31 +00:00
|
|
|
- name: append
|
|
|
|
args: " +02:00"
|
2017-03-23 04:39:56 +00:00
|
|
|
- name: dateparse
|
2017-10-03 10:48:31 +00:00
|
|
|
args: "2006-01-02 15:04:05 -07:00"
|
2017-03-23 04:39:56 +00:00
|
|
|
category:
|
|
|
|
case:
|
|
|
|
"a[href^=\"details.php\"]:contains(\"Stagione\")": 5040 # TV/HD
|
|
|
|
"*": 2040 # default to Movies/HD
|
|
|
|
downloadvolumefactor:
|
|
|
|
text: "1"
|
|
|
|
uploadvolumefactor:
|
|
|
|
text: "1"
|