-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
hellashut.yml
216 lines (208 loc) · 7.01 KB
/
hellashut.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
---
id: hellashut
name: HellasHut
description: "HellasHut is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL"
language: el-GR
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://hellashut.net/
legacylinks:
- https://hellashut.de/
caps:
categorymappings:
- {id: 85, cat: TV/Anime, desc: "Anime/Cartoon 4K"}
- {id: 28, cat: TV/Anime, desc: "Anime/Cartoon HD"}
- {id: 47, cat: TV/Anime, desc: "Anime/Cartoon HDTV"}
- {id: 48, cat: TV/Anime, desc: "Anime/Cartoon SD"}
- {id: 50, cat: TV/Anime, desc: "Anime/Cartoon SD Emb"}
- {id: 51, cat: TV/Anime, desc: "Anime/Cartoon TV"}
- {id: 77, cat: PC, desc: "Applications DOS"}
- {id: 20, cat: PC, desc: "Applications Linux"}
- {id: 19, cat: PC/Mac, desc: "Applications MAC"}
- {id: 68, cat: PC, desc: "Applications OS2 WARP"}
- {id: 21, cat: PC, desc: "Applications Other"}
- {id: 18, cat: PC/0day, desc: "Applications Windows"}
- {id: 52, cat: Books, desc: "Books/Magazines All"}
- {id: 9, cat: TV/Documentary, desc: "Documentaries All"}
- {id: 53, cat: TV/Documentary, desc: "Documentaries Greek"}
- {id: 54, cat: TV/Documentary, desc: "Documentaries HD"}
- {id: 55, cat: Movies/DVD, desc: "DVD-R All"}
- {id: 17, cat: Console/Other, desc: "Games Other"}
- {id: 11, cat: Console/PS4, desc: "Games PSX"}
- {id: 10, cat: PC/Games, desc: "Games Windows"}
- {id: 13, cat: Console/XBox, desc: "Games Xbox"}
- {id: 56, cat: Other, desc: "Miscellaneous All"}
- {id: 57, cat: PC/Mobile-Other, desc: "Mobile All"}
- {id: 1, cat: Movies/3D, desc: "Movies 3D"}
- {id: 2, cat: Movies/UHD, desc: "Movies 4K"}
- {id: 42, cat: Movies/BluRay, desc: "Movies BluRay"}
- {id: 78, cat: Movies/SD, desc: "Movies CAM"}
- {id: 58, cat: Movies/DVD, desc: "Movies DVD"}
- {id: 84, cat: Movies, desc: "Movies Fake HD"}
- {id: 4, cat: Movies/HD, desc: "Movies HD"}
- {id: 69, cat: Movies/HD, desc: "Movies HD Packs"}
- {id: 3, cat: Movies/SD, desc: "Movies SD"}
- {id: 67, cat: Movies/SD, desc: "Movies SD Packs"}
- {id: 71, cat: Audio, desc: "Music CDA"}
- {id: 59, cat: Audio, desc: "Music Discographies"}
- {id: 23, cat: Audio/Lossless, desc: "Music FLAC"}
- {id: 22, cat: Audio/MP3, desc: "Music MP3"}
- {id: 25, cat: Audio/Video, desc: "Music Video"}
- {id: 75, cat: Movies/HD, desc: "NO IN SUBS Movies HD"}
- {id: 76, cat: Movies/UHD, desc: "NO SUBS IN Movies 4K"}
- {id: 35, cat: TV/Sport, desc: "Sports HD"}
- {id: 34, cat: TV/Sport, desc: "Sports SD"}
- {id: 80, cat: Books, desc: "Tutorials Books"}
- {id: 79, cat: TV/Other, desc: "Tutorials Video"}
- {id: 5, cat: TV, desc: "TV Greek Movies"}
- {id: 6, cat: TV, desc: "TV Greek Series"}
- {id: 7, cat: TV, desc: "TV Greek Series Packs"}
- {id: 60, cat: TV, desc: "TV Greek Shows"}
- {id: 41, cat: TV/HD, desc: "TV HD"}
- {id: 61, cat: TV, desc: "TV Series"}
- {id: 82, cat: TV/UHD, desc: "TV Series 4K"}
- {id: 83, cat: TV/UHD, desc: "TV Series 4K Packs"}
- {id: 62, cat: TV, desc: "TV Series Emb"}
- {id: 63, cat: TV, desc: "TV Series Emb Packs"}
- {id: 64, cat: TV/HD, desc: "TV Series HD"}
- {id: 65, cat: TV/HD, desc: "TV Series HD Packs"}
- {id: 66, cat: TV, desc: "TV Series Packs"}
- {id: 73, cat: Movies/BluRay, desc: "UNTOUCHED BluRay"}
- {id: 72, cat: Movies/DVD, desc: "UNTOUCHED DVD"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: id
options:
id: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: info_activity
type: info
label: Account Inactivity
default: "Accounts inactive for more than 45 days are automatically deleted."
login:
path: login.php
method: form
form: form[action="login.php"]
captcha:
type: image
selector: img[src="captcha.php?ext=.gif"]
input: input[type="text"][size="6"]
inputs:
input[name="username"]: "{{ .Config.username }}"
input[name="password"]: "{{ .Config.password }}"
selectors: true
error:
- selector: td.embedded:contains("Access Denied")
test:
path: /
selector: a[href="account-logout.php"]
download:
selectors:
- selector: a[href^="download.php?id="], a[href^="magnet:?xt="]
attribute: href
search:
paths:
# https://hellashut.de/torrents-search.php?c52=1&search=&cat=0&incldead=1&advanced=1&lang=0&blah=0&freeleech=0&sort=id&order=desc
- path: torrents-search.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 active, 1 incldead, 2 onlydead
incldead: 1
# 0 all, 1 notfree, 2 onlyfree
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 all, 1 English, 2 French, 3 German, 4 Italian, 5 Japanese, 6 Spanish, 7 Russian, 8 Greek
lang: 0
# 0 name, 1 descr, 2 uploader
blah: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}"
# 0 all
team: 0
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
# does not return imdb link in results
rows:
selector: table.ttable_headinner tr.t-row
fields:
category_optional:
selector: a[href*="cat="]
attribute: href
optional: true
filters:
- name: querystring
args: cat
category:
text: "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}56{{ end }}"
title:
selector: a[href^="torrents-details.php?id="]
attribute: title
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["&hit=1", ""] # avoid redirect
download:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["&hit=1", ""] # avoid redirect
size:
selector: td:nth-last-child(7)
date:
selector: td:nth-last-child(6)
# auto adjusted by site account profile
filters:
- name: dateparse
args: "dd-MM-yyyyHH:mm:ss"
grabs:
selector: td:nth-last-child(5)
seeders:
selector: td:nth-last-child(4)
leechers:
selector: td:nth-last-child(3)
description:
case:
img[src="pic/tick.png"]: Verified
img[src="pic/unchecked.png"]: Unverified
downloadvolumefactor:
case:
img[src="pic/freedownload.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 10 day (as seconds = 10 x 24 x 60 x 60)
text: 864000
# TorrentTrader v2-svn