-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
fouducinema.yml
226 lines (218 loc) · 6.68 KB
/
fouducinema.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
---
id: fouducinema
name: Fou-Du-Cinema
description: "Fou-Du-Cinema (FdC) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: fr-FR
type: private
encoding: UTF-8
links:
- https://fou-du-cinema.ca/
legacylinks:
- https://fou-du-cinema.net/
caps:
categorymappings:
- {id: 9, cat: TV/SD, desc: "SERIE DVD"}
- {id: 21, cat: TV/HD, desc: "SERIE HDTV.1080p"}
- {id: 20, cat: TV/HD, desc: "SERIE HDTV.720p"}
- {id: 19, cat: TV/SD, desc: "SERIE HDTV"}
- {id: 36, cat: TV/Other, desc: "SERIE Pack"}
- {id: 17, cat: TV/SD, desc: "SERIE VHS"}
- {id: 16, cat: TV/SD, desc: "SERIE TVRip"}
- {id: 15, cat: TV/WEB-DL, desc: "SERIE WEB.1080p"}
- {id: 14, cat: TV/WEB-DL, desc: "SERIE WEB.720p"}
- {id: 12, cat: TV/WEB-DL, desc: "SERIE WEB"}
- {id: 37, cat: TV, desc: "SERIE EPISODE"}
- {id: 56, cat: PC/ISO, desc: "LOGICIELS Linux"}
- {id: 24, cat: PC/Mac, desc: "LOGICIELS Apple"}
- {id: 58, cat: PC/0day, desc: "LOGICIELS Windows"}
- {id: 59, cat: PC, desc: "LOGICIELS "}
- {id: 44, cat: Books/Mags, desc: "EBOOK Journaux"}
- {id: 46, cat: Books/Technical, desc: "EBOOK Documents"}
- {id: 48, cat: XXX/Other, desc: "EBOOK XXX"}
- {id: 49, cat: Books/EBook, desc: "EBOOK Livres"}
- {id: 64, cat: TV/Anime, desc: "ANIMEE HDRip"}
- {id: 1, cat: Movies/SD, desc: "FILM Xvid"}
- {id: 62, cat: Movies/WEB-DL, desc: "FILM WEB"}
- {id: 34, cat: Movies/SD, desc: "FILM TVRip"}
- {id: 33, cat: Movies/HD, desc: "FILM HDTV"}
- {id: 31, cat: Movies/Other, desc: "FILM MUET"}
- {id: 30, cat: Movies/Other, desc: "FILM VOST"}
- {id: 29, cat: Movies/SD, desc: "FILM VHS"}
- {id: 28, cat: Movies/HD, desc: "FILM 720"}
- {id: 27, cat: Movies/HD, desc: "FILM BDRip"}
- {id: 26, cat: Movies/BluRay, desc: "FILM BluRay"}
- {id: 25, cat: Movies/BluRay, desc: "FILM ISO"}
- {id: 4, cat: Movies/HD, desc: "FILM 1080"}
- {id: 2, cat: Movies/DVD, desc: "FILM DVD"}
- {id: 63, cat: Movies/WEB-DL, desc: "FILM WEB"}
- {id: 5, cat: Audio/Video, desc: "MUSIC clip video"}
- {id: 7, cat: PC/Games, desc: "JEUX Win"}
- {id: 8, cat: Console/PS3, desc: "JEUX PS3"}
- {id: 45, cat: PC/Games, desc: "JEUX PC"}
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: 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: sort
type: select
label: Sort requested from site
default: added
options:
added: created
seeds: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
path: login.php
method: form
form: form[action="/login.php"]
cookies: ["JAVA=OK"] # avoid jscheck redirect
captcha:
type: image
selector: img[src^="cap/captcha_math.php?codeCaptcha="]
input: stringCaptcha
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div#login_error
test:
path: index.php
selector: a[href="logout.php"]
download:
before:
path: ajax_det_poll.php
method: post
inputs:
set_thanks: Merci
det_id: "{{ .DownloadUri.Query.torrent }}"
ajax: yes
search:
paths:
- path: selection.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 name, 1 descr, 2 both
blah: 0
orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}"
# site does not support imdbid searches or provide imdb links in results
rows:
selector: div.content_wrap > div.selection_wrap:has(a[href^="details.php?id="])
fields:
cat_p1:
selector: div.kat_cat_pic_name
cat_p2:
selector: div.kat_cat_pic_name_b
categorydesc:
text: "{{ .Result.cat_p1 }} {{ .Result.cat_p2 }}"
title_phase1:
selector: a[href^="details.php?id="]
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:
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
details:
selector: a[href^="details.php?id="]
attribute: href
poster:
selector: img
attribute: src
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details.php?id=", "download.php?torrent="]
seeders:
selector: div.selection_unter_aa > b
leechers:
selector: div.selection_unter_aaa > b
date_day:
# Aujourd'hui à 06:26:25
# Hier à 05:15:19
selector: div.selection_unter_ab:not(:contains("."))
optional: true
filters:
- name: replace
args: ["Aujourd'hui à ", "Today "]
- name: replace
args: ["Hier à ", "Yesterday "]
- name: append
args: " +01:00" # CET
- name: fuzzytime
date_year:
# Le 17.10.2020 à 04:39:44
selector: div.selection_unter_ab:contains(".")
optional: true
filters:
- name: replace
args: ["Le ", ""]
- name: replace
args: ["à ", ""]
- name: append
args: " +01:00" # CET
- name: dateparse
args: "02.01.2006 15:04:05 -07:00"
date:
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
size:
selector: div.selection_unter_ad
grabs:
selector: div.selection_unter_ae
downloadvolumefactor:
text: 1
uploadvolumefactor:
text: 1
minimumseedtime:
# 2.5 days (as seconds = 2.5 x 24 x 60 x 60)
text: 216000
# 3xT