diff --git a/README.md b/README.md index de8cc1ac6..ce436cdfd 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * torrent.by * torrent-pirat * Torrent9 - * Torrent9 clone * Torrent911 * TorrentFunk * TorrentDownloads @@ -585,6 +584,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Torrent-Syndikat [![(invite needed)][inviteneeded]](#) * TOrrent-tuRK (TORK) * Torrent.LT + * Torrent9-tel * TorrentBD * TorrentBytes (TBy) [![(invite needed)][inviteneeded]](#) * TorrentCCF (TCCF) diff --git a/src/Jackett.Common/Definitions/torrent9clone.yml b/src/Jackett.Common/Definitions/torrent9-tel.yml similarity index 88% rename from src/Jackett.Common/Definitions/torrent9clone.yml rename to src/Jackett.Common/Definitions/torrent9-tel.yml index 1a4fafb0e..20e3af95d 100644 --- a/src/Jackett.Common/Definitions/torrent9clone.yml +++ b/src/Jackett.Common/Definitions/torrent9-tel.yml @@ -1,9 +1,9 @@ --- -id: torrent9clone -name: Torrent9 clone -description: "Torrent9 clone is a FRENCH Public Torrent9 clone for TV / MOVIES / GENERAL" +id: torrent9-tel +name: Torrent9-tel +description: "Torrent9-tel is a FRENCH Private tracker for TV / MOVIES / GENERAL" language: fr-FR -type: public +type: private encoding: UTF-8 followredirect: true # to fetch current domain use https://www.protege-torrent.com/Torrent9 @@ -60,6 +60,12 @@ caps: allowrawsearch: true settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password - name: info_flaresolverr type: info_flaresolverr - name: multilang @@ -82,6 +88,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/src/Jackett.Common/Services/IndexerManagerService.cs b/src/Jackett.Common/Services/IndexerManagerService.cs index 65283c23e..d65dcf3b5 100644 --- a/src/Jackett.Common/Services/IndexerManagerService.cs +++ b/src/Jackett.Common/Services/IndexerManagerService.cs @@ -64,6 +64,7 @@ namespace Jackett.Common.Services {"tehconnectionme", "anthelion"}, {"anthelion", "anthelion-api"}, {"todotorrents", "dontorrent"}, + {"torrent9clone", "torrent9-tel"}, {"torrentgalaxyorg", "torrentgalaxy"}, {"torrentsurf", "xtremebytes"}, {"transmithenet", "nebulance"},