gktorrent -> semi-private resolves #15399

This commit is contained in:
Garfield69 2024-06-11 05:50:30 +12:00
parent 855810f442
commit ddcb0c47d3
1 changed files with 26 additions and 3 deletions

View File

@ -1,14 +1,14 @@
---
id: gktorrent
name: GkTorrent
description: "GkTorrent is a French Public site for TV / MOVIES / GENERAL"
description: "GkTorrent is a French Semi-Private site for TV / MOVIES / GENERAL"
language: fr-FR
type: public
type: semi-private
encoding: UTF-8
followredirect: true
# to fetch current domain use https://www.protege-torrent.com/Gktorrent
links:
- https://www.gktorrent.pm/
- https://www.gktorrent.tw/
legacylinks:
- https://www.rantop.org/
- https://www.torrent.ws/
@ -27,6 +27,7 @@ legacylinks:
- https://www.gktorrent.sh/
- https://www.gktorrent.eu/
- https://www.gktorrent.xyz/
- https://www.gktorrent.pm/
caps:
categorymappings:
@ -54,6 +55,12 @@ caps:
allowrawsearch: true
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
@ -74,6 +81,22 @@ settings:
label: Replace VOSTFR and SUBFRENCH with ENGLISH
default: false
login:
path: login
method: form
form: form#formLogin
inputs:
user: "{{ .Config.username }}"
pass: "{{ .Config.password }}"
submit: submit
error:
- selector: :root:contains("Pseudo ou Mot de passe erron")
message:
text: "Pseudo ou Mot de passe erroné"
test:
path: /
selector: a[href="/index.php?page=logout"]
download:
selectors:
- selector: a[href^="magnet:?"]