-
-
Notifications
You must be signed in to change notification settings - Fork 66
/
yggtorrent.yml
360 lines (353 loc) · 12.9 KB
/
yggtorrent.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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
---
id: yggtorrent
name: YGGtorrent
description: "YGGTorrent is a FRENCH Semi-Private Torrent Tracker for 0DAY / GENERAL"
language: fr-fr
type: semi-private
encoding: UTF-8
followredirect: true
links:
- https://www3.yggtorrent.nz/
legacylinks:
- https://yggtorrent.com/
- https://ww1.yggtorrent.com/
- https://yggtorrent.is/
- https://www.yggtorrent.is/
- https://ww1.yggtorrent.is/
- https://ww2.yggtorrent.is/
- https://ww3.yggtorrent.is/
- https://ww4.yggtorrent.is/
- https://yggtorrent.to/
- https://www3.yggtorrent.to/
- https://www6.yggtorrent.to/
- https://www8.yggtorrent.to/
- https://www9.yggtorrent.to/
- https://ygg.to/
- https://www.ygg.to/
- https://ww3.yggtorrent.gg/
- http://www2.yggtorrent.gg/
- https://www.yggtorrent.gg/
- https://www.yggtorrent.ch/
- https://www.yggtorrent.pe/
- https://www3.yggtorrent.pe/
- https://www5.yggtorrent.pe/
- https://yggtorrent.ws/
- https://yggtorrent.se/
- https://www.yggtorrent.si/
- https://ww3.yggtorrent.si/
- https://yggtorrent.si/
- http://www2.yggtorrent.si/
- https://www2.yggtorrent.si/
- https://www.yggtorrent.li/
- https://www4.yggtorrent.li/
caps:
categorymappings:
- {id: 2145, cat: TV, desc: "Film/Vidéo"}
- {id: 2178, cat: Movies, desc: "Film/Vidéo : Animation"} # changed to movies, see #3553
- {id: 2179, cat: TV/Anime, desc: "Film/Vidéo : Animation Série"}
- {id: 2180, cat: TV, desc: "Film/Vidéo : Concert"}
- {id: 2181, cat: TV, desc: "Film/Vidéo : Documentaire"}
- {id: 2182, cat: TV, desc: "Film/Vidéo : Emission TV"}
- {id: 2183, cat: Movies, desc: "Film/Vidéo : Film"}
- {id: 2184, cat: TV, desc: "Film/Vidéo : Série TV"}
- {id: 2185, cat: TV, desc: "Film/Vidéo : Spectacle"}
- {id: 2186, cat: TV, desc: "Film/Vidéo : Sport"}
- {id: 2187, cat: TV, desc: "Film/Vidéo : Vidéo-clips"}
- {id: 2139, cat: Audio, desc: "Audio"}
- {id: 2147, cat: Audio, desc: "Audio : Karaoké"}
- {id: 2148, cat: Audio, desc: "Audio : Musique"}
- {id: 2150, cat: Audio, desc: "Audio : Podcast Radio"}
- {id: 2149, cat: Audio, desc: "Audio : Samples"}
- {id: 2144, cat: PC, desc: "Application"}
- {id: 2177, cat: PC, desc: "Application : Autre"}
- {id: 2176, cat: PC, desc: "Application : Formation"}
- {id: 2171, cat: PC, desc: "Application : Linux"}
- {id: 2172, cat: PC, desc: "Application : MacOS"}
- {id: 2174, cat: PC, desc: "Application : Smartphone"}
- {id: 2175, cat: PC, desc: "Application : Tablette"}
- {id: 2173, cat: PC, desc: "Application : Windows"}
- {id: 2142, cat: PC/Games, desc: "Jeu vidéo"}
- {id: 2167, cat: PC/Games, desc: "Jeu vidéo : Autre"}
- {id: 2159, cat: PC/Games, desc: "Jeu vidéo : Linux"}
- {id: 2160, cat: PC/Games, desc: "Jeu vidéo : MacOS"}
- {id: 2162, cat: PC/Games, desc: "Jeu vidéo : Microsoft"}
- {id: 2163, cat: PC/Games, desc: "Jeu vidéo : Nintendo"}
- {id: 2165, cat: PC/Games, desc: "Jeu vidéo : Smartphone"}
- {id: 2164, cat: PC/Games, desc: "Jeu vidéo : Sony"}
- {id: 2166, cat: PC/Games, desc: "Jeu vidéo : Tablette"}
- {id: 2161, cat: PC/Games, desc: "Jeu vidéo : Windows"}
- {id: 2140, cat: Books, desc: "eBook"}
- {id: 2151, cat: Books, desc: "eBook : Audio"}
- {id: 2152, cat: Books, desc: "eBook : Bds"}
- {id: 2153, cat: Books, desc: "eBook : Comics"}
- {id: 2154, cat: Books, desc: "eBook : Livres"}
- {id: 2155, cat: Books, desc: "eBook : Mangas"}
- {id: 2156, cat: Books, desc: "eBook : Presse"}
- {id: 2141, cat: Other, desc: "Emulation"}
- {id: 2157, cat: Other, desc: "Emulation : Emulateurs"}
- {id: 2158, cat: Other, desc: "Emulation : Roms"}
- {id: 2143, cat: Other, desc: "GPS"}
- {id: 2168, cat: Other, desc: "GPS : Applications"}
- {id: 2169, cat: Other, desc: "GPS : Cartes"}
- {id: 2170, cat: Other, desc: "GPS : Divers"}
- {id: 2188, cat: XXX, desc: "XXX"}
- {id: 2189, cat: XXX, desc: "XXX : Films"}
- {id: 2190, cat: XXX, desc: "XXX : Hentai"}
- {id: 2191, cat: XXX, desc: "XXX : Images"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: category
type: select
label: Catégorie
default: all
options:
all: Tous
2145: Film/Vidéo
2139: Audio
2144: Application
2142: Jeu vidéo
2140: eBook
2141: Emulation
2143: GPS
2188: XXX
- name: filter_title
type: checkbox
label: Try to normalize releases names by moving year after the title
default: false
- name: multilang
type: checkbox
label: Replace MULTI by another language in release name
default: false
- name: multilanguage
type: select
label: Replace MULTI by this language
default: FRENCH
options:
FRENCH: FRENCH
MULTI.FRENCH: MULTI.FRENCH
ENGLISH: ENGLISH
MULTI.ENGLISH: MULTI.ENGLISH
VOSTFR: VOSTFR
MULTI.VOSTFR: MULTI.VOSTFR
- name: vostfr
type: checkbox
label: Replace VOSTFR with ENGLISH
default: false
- name: enhancedAnime
type: checkbox
label: Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
default: false
- name: sort
type: select
label: Sort requested from site
default: publish_date
options:
publish_date: created
seed: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
- name: flaresolverr
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, currently Prowlarr doesn't support Flaresolverr, see <a href="https://wiki.servarr.com/prowlarr/faq#can-i-use-flaresolverr-indexers" target="_blank">here</a> for more details.
login:
method: form
path: /
form: "#user-login"
inputs:
id: "{{ .Config.username }}"
pass: "{{ .Config.password }}"
ci_csrf_token: ""
error:
- selector: "#login_msg_pass[style=\"\"][style] > center"
- selector: "#ban_msg_login[style=\"\"][style] > center"
- selector: "#login_msg_mail[style=\"\"][style] > center"
- selector: a[href$="/user/disabled"]
message:
# Compte Inactif
selector: a[href$="/user/disabled"] strong
filters:
- name: append
args: " - Dès que vous passez en dessous d'un ratio inférieur à 1, Votre compte devient inactif et le site vous coupe les téléchargements."
test:
path: /
selector: div#top_panel:contains("Déconnexion")
search:
keywordsfilters:
# Hack For anime Search ! example : replace sonarr search of
# One Punch Man S2 10 OR One Punch Man S2 2
# BY
# One Punch Man S02E10 OR One Punch Man S02E02
- name: re_replace # S 1-9 & EP >= 10
args: ["(?i)(.*)s([1-9])\\s(\\d{2,3})$", "$1 S0$2E$3"]
- name: re_replace # S 1-9 & EP 1-9
args: ["(?i)(.*)s([1-9])\\s(\\d{1})$", "$1 S0$2E0$3"]
- name: re_replace # S >= 10 & EP >= 10
args: ["(?i)(.*)s([1-9][0-9])\\s(\\d{2,3})$", "$1 S0$2E$3"]
- name: re_replace # S >= 10 & EP 1-9
args: ["(?i)(.*)s([1-9][0-9])\\s(\\d{1})$", "$1 S0$2E0$3"]
- name: re_replace # Full season S 1-9
args: ["(?i)(.*)s([1-9])$", "$1 S0$2"]
- name: re_replace # Full season S >= 10
args: ["(?i)(.*)s([1-9][0-9])$", "$1 S$2"]
- name: re_replace # episode number at the end "123" to "E123"
args: ["(.*)(\\.|\\s|\\-)(\\d{2,3})(\\.|\\s|\\-*)(.*)", "{{ if .Config.enhancedAnime }}$1 E$3 $5{{ else }}$1$2$3$4$5{{ end }}"]
# END ANIME HACK
- name: replace
args: ["\"", ""]
- name: replace
args: [" ", " "]
- name: trim
# put each word in quotations to prevent exact phrase search
- name: re_replace
args: ["(\\w+)", "\"$1\""]
paths:
- path: "engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
followredirect: true
# Saison Word
- path: "engine/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
followredirect: true
rows:
selector: table.table > tbody > tr
fields:
_id:
selector: td:nth-child(2) > a
attribute: href
filters:
- name: regexp
args: "/(\\d+)-"
title_normal:
selector: td:nth-child(2) > a
filters:
- name: re_replace # S 1-9 & EP >= 10
args: ["(?i)(.*)s([1-9])\\s(\\d{2,3})$", "$1 S0$2E$3"]
- name: re_replace # S 1-9 & EP 1-9
args: ["(?i)(.*)s([1-9])\\s(\\d{1})$", "$1 S0$2E0$3"]
- name: re_replace # S >= 10 & EP >= 10
args: ["(?i)(.*)s([1-9][0-9])\\s(\\d{2,3})$", "$1 S0$2E$3"]
- name: re_replace # S >= 10 & EP 1-9
args: ["(?i)(.*)s([1-9][0-9])\\s(\\d{1})$", "$1 S0$2E0$3"]
- name: re_replace # Full season S 1-9
args: ["(?i)(.*)s([1-9])$", "$1 S0$2"]
- name: re_replace # Full season S >= 10
args: ["(?i)(.*)s([1-9][0-9])$", "$1 S$2"]
- name: re_replace
args: ["(?i)(multi)", "MULTi"]
# Replace French Saison by Season
- name: re_replace
args: ["(?i)(saison|saison )([1-9])", "S0$2"]
- name: re_replace
args: ["(?i)(saison|saison )(\\d{1,4})", "S$2"]
title_filtered:
text: "{{ .Result.title_normal }}"
filters:
- name: re_replace
args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"]
- name: replace
args: [".", " "]
- name: trim
- name: re_replace
args: ["(?i)\\s(mkv|avi|divx|xvid|mp4)$", ""]
- name: re_replace
args: ["(\\s{2,5})", " "]
- name: trim
title_phase1:
text: "{{ if .Config.filter_title }}{{ .Result.title_filtered }}{{ else }}{{ .Result.title_normal }}{{ end }}"
title_multilang:
text: "{{ .Result.title_phase1 }}"
filters:
- name: re_replace
args: ["(?i)[\\.\\s\\[\\-]multi[\\.\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
title_phase2:
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
title_vostfr:
text: "{{ .Result.title_phase2 }}"
filters:
- name: re_replace
args: ["(?i)[\\.\\s\\[\\-]vostfr[\\.\\s\\]\\-]", ".ENGLISH."]
- name: re_replace
args: ["(?i)[\\.\\s\\[\\-]subfrench[\\.\\s\\]\\-]", ".ENGLISH."]
title_phase3:
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
title_anime:
text: "{{ .Result.title_phase3 }}"
filters:
# Sonarr need E in front of 3 digit number or else it thinks it is episode
# S01E10 for number 110 for example ==> enhancedAnime
- name: re_replace
args: ["(.*)(\\.|\\s|\\-)(\\d{2,3})(\\.|\\s|\\-)(.*)", "$1 E$3 $5"]
title:
text: "{{ if .Config.enhancedAnime }}{{ .Result.title_anime }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
details:
selector: td:nth-child(2) > a
attribute: href
category:
# changed the catid into and hidden div as of last tracker problem
selector: ":nth-child(1) > div.hidden"
download:
text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}"
date:
selector: td:nth-child(5)
filters:
- name: replace
args: ["il y a ", ""]
- name: replace
args: [" jours", " days"]
- name: replace
args: [" jour", " day"]
- name: replace
args: [" heures", " hours"]
- name: replace
args: [" heure", " hour"]
- name: replace
args: [" semaines", " weeks"]
- name: replace
args: [" semaine", " week"]
- name: replace
args: [" mois", " month"]
- name: replace
args: [" ans", " years"]
- name: replace
args: [" an", " year"]
- name: append
args: " ago"
size:
selector: td:nth-child(6)
filters:
- name: replace
args: ["o", "B"]
grabs:
selector: td:nth-child(7)
seeders:
text: 0
seeders:
selector: td:nth-child(8)
optional: true
leechers:
text: 0
leechers:
selector: td:nth-child(9)
optional: true
downloadvolumefactor:
text: 1
uploadvolumefactor:
text: 1
# engine n/a