2019-02-08 20:55:41 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: spacetorrent
|
2020-05-10 20:05:19 +00:00
|
|
|
name: SpaceTorrent
|
|
|
|
description: "SpaceTorrent is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL"
|
|
|
|
language: fr-fr
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://www.spacetorrent.cloud/
|
2019-02-08 20:55:41 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {id: 1, cat: Audio, desc: "Musique"}
|
|
|
|
- {id: 2, cat: Movies, desc: "Film"}
|
|
|
|
- {id: 3, cat: TV, desc: "Série"}
|
|
|
|
- {id: 4, cat: Console, desc: "Jeux"}
|
|
|
|
- {id: 5, cat: Books, desc: "Ebook"}
|
|
|
|
- {id: 6, cat: PC, desc: "Logiciels"}
|
|
|
|
- {id: 7, cat: XXX, desc: "Contenu Adulte"}
|
2019-02-08 20:55:41 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
music-search: [q]
|
2019-02-08 20:55:41 +00:00
|
|
|
|
2020-09-14 19:45:37 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
|
|
|
- name: freeleech
|
|
|
|
type: checkbox
|
|
|
|
label: Search freeleech only
|
|
|
|
default: false
|
2020-09-18 19:45:24 +00:00
|
|
|
- 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
|
2020-09-14 19:45:37 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
method: post
|
|
|
|
path: ajax/takelogin.php
|
|
|
|
inputs:
|
2020-09-14 19:45:37 +00:00
|
|
|
snlo: certified
|
2020-05-10 20:05:19 +00:00
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
2020-09-14 19:45:37 +00:00
|
|
|
returnto: "/recherche"
|
2020-05-10 20:05:19 +00:00
|
|
|
test:
|
2020-09-14 19:45:37 +00:00
|
|
|
path: recherche
|
2020-05-10 20:05:19 +00:00
|
|
|
selector: a[href="../logout"]
|
|
|
|
|
|
|
|
download:
|
|
|
|
selector: a[href^="magnet:?xt="]
|
|
|
|
attribute: href
|
2019-02-08 20:55:41 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
2020-09-14 19:45:37 +00:00
|
|
|
# https://www.spacetorrent.cloud/recherche?advanced_search=true&advanced_search_term=&cat=0&freemium=1
|
2020-05-10 20:05:19 +00:00
|
|
|
path: recherche
|
|
|
|
inputs:
|
2020-09-14 19:45:37 +00:00
|
|
|
advanced_search: true
|
|
|
|
advanced_search_term: "{{ .Keywords }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
cat: 0
|
2020-09-14 19:45:37 +00:00
|
|
|
freemium: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table#table-1 tbody tr
|
2020-09-14 19:45:37 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
fields:
|
|
|
|
category:
|
|
|
|
selector: a[href^="../recherche?"]
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: querystring
|
|
|
|
args: cat
|
2020-09-18 19:45:24 +00:00
|
|
|
title_phase1:
|
|
|
|
selector: a[href^="../torrent/"]
|
|
|
|
filters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["([\\.]+)", " "]
|
|
|
|
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: a[href^="../torrent/"]
|
|
|
|
attribute: href
|
|
|
|
download:
|
|
|
|
selector: a[href^="../torrent/"]
|
|
|
|
attribute: href
|
2020-05-10 20:05:19 +00:00
|
|
|
date:
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["heure", "hour"]
|
|
|
|
- name: replace
|
|
|
|
args: ["jour", "day"]
|
|
|
|
- name: replace
|
|
|
|
args: ["semaine", "week"]
|
|
|
|
- name: replace
|
|
|
|
args: ["moi", "month"]
|
|
|
|
- name: replace
|
|
|
|
args: [" an", " year"]
|
|
|
|
- name: append
|
|
|
|
args: " ago"
|
|
|
|
size:
|
|
|
|
selector: td:nth-child(5)
|
|
|
|
seeders:
|
|
|
|
text: 0
|
|
|
|
seeders:
|
|
|
|
optional: true
|
|
|
|
selector: td:nth-child(6)
|
|
|
|
leechers:
|
|
|
|
text: 0
|
|
|
|
leechers:
|
|
|
|
optional: true
|
|
|
|
selector: td:nth-child(7)
|
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
2020-09-14 19:45:37 +00:00
|
|
|
"i.fa-star": 0
|
|
|
|
"*": 1
|
2020-05-10 20:05:19 +00:00
|
|
|
uploadvolumefactor:
|
|
|
|
text: 1
|
2020-09-14 19:45:37 +00:00
|
|
|
minimumseedtime:
|
|
|
|
# 1 day (as seconds = 24 x 60 x 60)
|
|
|
|
text: 86400
|
2020-01-19 20:51:48 +00:00
|
|
|
# engine n/a
|