-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
oxtorrent.yml
166 lines (159 loc) · 4.95 KB
/
oxtorrent.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
---
id: oxtorrent
name: OxTorrent
description: "OxTorrent is a French Public site for TV / MOVIES / GENERAL"
language: fr-FR
type: public
encoding: UTF-8
followredirect: true
links:
- https://www.torrent911.org/
- https://www.t911.me/
- https://oxtorrent.unblockninja.com/
legacylinks:
- https://www.oxtorrent.bz/
- https://www.oxtorrent.ws/
- https://www.oxtorrent.tv/
- https://www.oxtorrent.ph/
- https://www.oxtorrent.pe/
- https://www.oxtorrent.co/
- https://www.oxtorrent.io/
- https://www.oxtorrent.cx/
- https://www.oxtorrent.nz/
- https://oxtorrent.nocensor.work/
- https://oxtorrent.unblockit.kim/
- https://www.oxtorrent.sh/
- https://www.oxtorrent.pl/
- https://oxtorrent.unblockit.bz/
- https://www.oxtorrent.vc/
- https://oxtorrent.unblockit.tv/
- https://oxtorrent.unblockit.how/
- https://www.oxtorrent.be/
- https://oxtorrent.unblockit.cam/
- https://oxtorrent.nocensor.biz/
- https://oxtorrent.unblockit.day/
- https://www.oxtorrent.re/
- https://oxtorrent.unblockit.llc/
- https://www.torrent911.com/
- https://www.t911.net/
- https://oxtorrent.unblockit.blue/ # proxy for *.co, a clone without derniers
- https://oxtorrent.nocensor.sbs/ # proxy for *.co, a clone without derniers
- https://www.torrent911.net/
caps:
categorymappings:
- {id: Films, cat: Movies, desc: "Movies"}
- {id: Séries, cat: TV, desc: "TV"}
- {id: Musiques, cat: Audio, desc: "Music"}
- {id: Ebooks, cat: Books, desc: "Books"}
- {id: Logiciels, cat: PC, desc: "Software"}
- {id: Jeux-PC, cat: PC/Games, desc: "PC Games"}
- {id: Jeux-Consoles, cat: Console/XBox 360, desc: "Console Games"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- 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
download:
selectors:
- selector: a[href^="magnet:?"]
attribute: href
- selector: script:contains("magnet:?")
filters:
- name: regexp
args: "\\s'(magnet:\\?.+?)';"
search:
paths:
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}derniers{{ end }}"
keywordsfilters:
# if searching for season packs swith S01 to saison 1 #9712
- name: re_replace
args: ["(?i)(S0)(\\d{1,2})$", "saison $2"]
- name: re_replace
args: ["(?i)(S)(\\d{1,3})$", "saison $2"]
rows:
selector: table.table-hover > tbody > tr:has(a[href*="torrent/"])
filters:
- name: andmatch
fields:
category:
selector: td:nth-child(1) i, td:nth-child(1) div i
attribute: class
site_date:
selector: td:nth-child(1) a
filters:
# year is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(19|20\\d{2})$"
title_phase1:
selector: td:nth-child(1) a
filters:
# now we put the date at the right place according scene naming rules using .Result.site_date
- name: re_replace
args: ["(?i)( FRENCH)", " {{ .Result.site_date }} FRENCH"]
- name: re_replace
args: ["(?i)( MULTI)", " {{ .Result.site_date }} MULTI"]
- name: replace
args: ["(?i)( TRUEFRENCH)", " {{ .Result.site_date }} TRUEFRENCH"]
- name: re_replace
args: ["(?i)( VOSTFR)", " {{ .Result.site_date }} VOSTFR"]
- name: re_replace
args: ["(?i)( SUBFRENCH)", " {{ .Result.site_date }} SUBFRENCH"]
# and we delete it at the end
- name: re_replace
args: ["(19|20\\d{2})$", ""]
title_multilang:
text: "{{ .Result.title_phase1 }}"
filters:
- name: re_replace
args: ["(?i)(\\smulti\\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)(\\svostfr\\s)", " ENGLISH "]
- name: re_replace
args: ["(?i)(\\ssubfrench\\s)", " ENGLISH "]
title:
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
details:
selector: td:nth-child(1) a
attribute: href
download:
selector: td:nth-child(1) a
attribute: href
size:
selector: td:nth-child(2)
date:
text: now
seeders:
selector: td:nth-child(3)
leechers:
selector: td:nth-child(4)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a