diff --git a/definitions/v9/gktorrent.yml b/definitions/v9/gktorrent.yml index 3636c5ad7..2c673525f 100644 --- a/definitions/v9/gktorrent.yml +++ b/definitions/v9/gktorrent.yml @@ -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:?"] diff --git a/definitions/v9/rudub.yml b/definitions/v9/rudub.yml index 9247377e9..e4070e7c5 100644 --- a/definitions/v9/rudub.yml +++ b/definitions/v9/rudub.yml @@ -7,10 +7,9 @@ type: semi-private encoding: windows-1251 followredirect: true links: - - https://10june.rudub.online/ + - https://11june.rudub.online/ legacylinks: - https://rudub.online/ - - https://11may.rudub.online/ - https://12may.rudub.online/ - https://13may.rudub.online/ - https://14may.rudub.online/ @@ -40,6 +39,7 @@ legacylinks: - https://07june.rudub.online/ - https://08june.rudub.online/ - https://09june.rudub.online/ + - https://10june.rudub.online/ caps: categorymappings: diff --git a/definitions/v9/unionfansub.yml b/definitions/v9/unionfansub.yml index d5945e222..10ef2da00 100644 --- a/definitions/v9/unionfansub.yml +++ b/definitions/v9/unionfansub.yml @@ -69,7 +69,7 @@ login: quick_username: "{{ .Config.username }}" quick_password: "{{ .Config.password }}" action: do_login - url: "https://torrent.unionfansub.com/" + url: "{{ .Config.sitelink }}" quick_login: 1 quick_remember: yes error: