-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
torrentlt.yml
206 lines (190 loc) · 6.36 KB
/
torrentlt.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
---
id: torrentlt
name: Torrent.LT
description: "Torrent.LT is a LITHUANIAN Private Torrent Tracker for 0DAY / GENERAL"
language: lt-LT
type: private
encoding: UTF-8
links:
- https://torrent.lt/
legacylinks:
- http://www.torrent.ai/
- https://torrent.ai/
caps:
categorymappings:
- {id: 33, cat: Movies, desc: "Filmai / LT"}
- {id: 43, cat: Movies, desc: "Filmai / LT-Subs"}
- {id: 74, cat: Movies/HD, desc: "Filmai LT HD"}
- {id: 34, cat: Movies, desc: "Filmai / Eng"}
- {id: 54, cat: Movies/HD, desc: "Filmai / Eng HD"}
- {id: 32, cat: Movies, desc: "Filmai / Rus"}
- {id: 78, cat: Movies/HD, desc: "Filmai Rus HD"}
- {id: 72, cat: Movies/3D, desc: "Filmai / 3D"}
- {id: 31, cat: Movies/DVD, desc: "Filmai / DVD"}
- {id: 76, cat: TV, desc: "Animacija / LT"}
- {id: 80, cat: TV/HD, desc: "Animacija / LT HD"}
- {id: 27, cat: TV, desc: "Animacija / Eng"}
- {id: 52, cat: TV/HD, desc: "Animacija / Eng HD"}
- {id: 81, cat: TV, desc: "Animacija / Rus"}
- {id: 85, cat: TV, desc: "Animacija / Rus HD"}
- {id: 86, cat: TV, desc: "Animacija / 3D"}
- {id: 35, cat: TV/Anime, desc: "Anime"}
- {id: 58, cat: TV, desc: "Serialai / LT"}
- {id: 79, cat: TV/HD, desc: "Serialai LT HD"}
- {id: 42, cat: TV, desc: "Serialai / Eng"}
- {id: 56, cat: TV/HD, desc: "Serialai / Eng HD"}
- {id: 59, cat: TV, desc: "Serialai / Rus"}
- {id: 84, cat: TV/HD, desc: "Serialai / Rus HD"}
- {id: 69, cat: TV, desc: "TV / LT"}
- {id: 28, cat: TV, desc: "TV / Eng"}
- {id: 70, cat: TV, desc: "TV / Rus"}
- {id: 39, cat: TV/Documentary, desc: "TV / Dokumentika"}
- {id: 1, cat: PC/Games, desc: "Žaidimai / PC"}
- {id: 50, cat: Console/PS4, desc: "Žaidimai / PS"}
- {id: 51, cat: Console/XBox 360, desc: "Žaidimai / XBOX"}
- {id: 73, cat: Console, desc: "Žaidimai / Priedai"}
- {id: 36, cat: Console/Other, desc: "Žaidimai / Kita"}
- {id: 62, cat: TV/Sport, desc: "Sport / Basketball"}
- {id: 66, cat: TV/Sport, desc: "Sport / Football"}
- {id: 65, cat: TV/Sport, desc: "Sport / Fights"}
- {id: 63, cat: TV/Sport, desc: "Sport / Cars"}
- {id: 40, cat: TV/Sport, desc: "Sport / Kita"}
- {id: 87, cat: Audio/MP3, desc: "Muzika / LT"}
- {id: 6, cat: Audio, desc: "Muzika / Albumai"}
- {id: 57, cat: Audio/MP3, desc: "Muzika / VA"}
- {id: 26, cat: Audio, desc: "Muzika / DJ Sets"}
- {id: 29, cat: Audio/Video, desc: "Muzika / Videos"}
- {id: 10, cat: PC/0day, desc: "Soft / PC"}
- {id: 44, cat: PC/Mac, desc: "Soft / MAC"}
- {id: 61, cat: PC/Mobile-Other, desc: "Soft / Mobile"}
- {id: 75, cat: PC, desc: "Soft / Kita"}
- {id: 89, cat: Audio/Audiobook, desc: "Audiobooks / LT"}
- {id: 83, cat: Audio/Audiobook, desc: "Audiobooks"}
- {id: 90, cat: Books/EBook, desc: "E-Books / LT"}
- {id: 41, cat: Books/EBook, desc: "E-Books"}
- {id: 77, cat: Other, desc: "Educational"}
- {id: 30, cat: Other/Misc, desc: "Kita"}
- {id: 21, cat: XXX, desc: "pr0n"}
- {id: 88, cat: XXX, desc: "pr0n / LT"}
- {id: 71, cat: XXX/Pack, desc: "pr0n / pack"}
- {id: 82, cat: XXX, desc: "pr0n / games"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker in your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
- name: sort
type: select
label: Sort requested from site
default: 0
options:
0: created
6: seeders
4: size
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
# method: cookie
# inputs:
# cookie: "{{ .Config.cookie }}"
# test:
# path: lt/torrents.php
path: lt/account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.klaida
- selector: p.error_text
test:
path: lt/torrents
search:
paths:
- path: lt/torrents
inputs:
$raw: "{{ range .Categories }}cats[]={{.}}&{{end}}"
search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
free: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
keywordsfilters:
- name: replace
args: [".", " "] # issue #3296
- name: re_replace
args: ["[^\\w\\d\\(\\)]+", "%"]
rows:
selector: table> tbody > tr[class^="torrents-table__"]
filters:
- name: andmatch
args: 50
after: 1
fields:
category:
selector: td[class^="category-icon_cell"] a
attribute: href
filters:
- name: querystring
args: cats
title:
selector: div[class^="torrent-name"] a
details:
selector: div[class^="torrent-name"] a
attribute: href
download:
selector: td a[href^="download?id="]
attribute: href
poster:
selector: div[class^="torrent-name"] a
attribute: data-poster-preview
seeders_optional:
selector: td.seeders_cell:not(:has(i))
optional: true
seeders:
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
leechers_optional:
selector: td.leechers_cell:not(:has(i))
optional: true
leechers:
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
size:
selector: td.size_cell
downloadvolumefactor:
case:
img[src$="/freedownload.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
date:
selector: span.datetime
attribute: title
filters:
- name: append
args: " +02:00" # EET
- name: dateparse
args: "2006-01-02 15:04 -07:00"
minimumratio:
text: 0.41
# engine n/a