totheglory: changes for 2fa (#15416)

This commit is contained in:
ilike2burnthing
2024-06-15 01:34:15 +01:00
committed by GitHub
parent ebced85dc0
commit 2364d7a36a
4 changed files with 21 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
---
id: totheglory
name: ToTheGlory
description: "ToTheGlory (TTG) A Chinese tracker"
description: "ToTheGlory (TTG) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL"
language: zh-CN
type: private
encoding: UTF-8
@@ -95,13 +95,6 @@ settings:
- name: password
type: password
label: Password
- name: 2facode
type: text
label: 2FA code
- name: info_2fa
type: info
label: "About 2FA code"
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the TTG Web Site. Otherwise just leave it empty."
- name: passid
type: select
label: Security Question ID
@@ -118,14 +111,14 @@ settings:
- name: info_passid
type: info
label: "About Security ID"
default: "Only select the <b>Security Question ID</b> from the pulldown if you have set it on the TTG Web Site. Otherwise just leave it as ignore not set."
default: "Only select the <b>Security Question ID</b> from the pulldown if you have set it on the TTG Web Site. Otherwise just leave it as <b>Ignore not set</b>."
- name: passan
type: text
label: Security Question Answer
- name: info_passan
type: info
label: "About Security Question Answer"
default: "Only fill in the <b>Security Question Answer</b> box if you have set it on the TTG Web Site. Dont forget to write your answer in the same language you saved it on the TTG Web Site. Otherwise just leave it empty."
default: "Only fill in the <b>Security Question Answer</b> box if you have set it on the TTG Web Site. Don't forget to write your answer in the same language you saved it on the TTG Web Site. Otherwise just leave it empty."
login:
path: login.php?returnto=
@@ -135,7 +128,6 @@ login:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
rememberme: yes
otp: "{{ .Config.2facode }}"
passid: "{{ .Config.passid }}"
passan: "{{ .Config.passan }}"
error:

View File

@@ -1,7 +1,7 @@
---
id: totheglorycookie
name: ToTheGloryCookie
description: "ToTheGlory (TTG) A Chinese tracker. This uses the cookie method for access"
id: totheglory2fa
name: ToTheGlory2FA
description: "ToTheGlory (TTG) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL. This indexer uses cookie login for 2FA."
language: zh-CN
type: private
encoding: UTF-8

View File

@@ -38,39 +38,42 @@ namespace Jackett.Common.Services
// (the id is used in the torznab/download/search urls and in the indexer configuration file)
// if the indexer is removed, remove it from this list too
// use: {"<old id>", "<new id>"}
// list alphabetically by the original name
// group successive and collective renames, use comments to indicate this
private readonly Dictionary<string, string> _renamedIndexers = new Dictionary<string, string>
{
{"audiobooktorrents", "abtorrents"},
{"baibako", "rudub"},
{"broadcastthenet", "broadcasthenet"},
{"casatorrent", "teamctgame"},
{"icetorrent", "speedapp"},
{"hdzone", "hdfun"},
{"icetorrent", "speedapp"}, // v
{"scenefz", "speedapp"}, // |
{"xtremezone", "speedapp"}, // ^
{"kickasstorrent-kathow", "kickasstorrents-ws"},
{"kisssub", "miobt"},
{"legacyhd", "reelflix"},
{"reelflix", "reelflix-api"},
{"legacyhd", "reelflix"}, // v
{"reelflix", "reelflix-api"}, // ^
{"magico", "trellas"},
{"metaliplayro", "romanianmetaltorrents"},
{"mteamtp2fa", "mteamtp"},
{"nnm-club", "noname-club"},
{"oxtorrent", "torrent911"},
{"oxtorrent", "torrent911"}, // v
{"torrent911", "oxtorrent-vip"}, // ^
{"passtheheadphones", "redacted"},
{"puntorrent", "puntotorrent"},
{"rstorrent", "redstartorrent"},
{"scenefz", "speedapp"},
{"seals", "greatposterwall"},
{"speedcdcookie", "speedcd"},
{"tehconnectionme", "anthelion"},
{"torrent911", "oxtorrent-vip"},
{"anthelion", "anthelion-api"},
{"tehconnectionme", "anthelion"}, // v
{"anthelion", "anthelion-api"}, // ^
{"todotorrents", "dontorrent"},
{"torrent9clone", "torrent9-tel"},
{"torrentgalaxyorg", "torrentgalaxy"},
{"torrentsurf", "xtremebytes"},
{"transmithenet", "nebulance"},
{"nebulance", "nebulanceapi"},
{"xtremezone", "speedapp"},
{"totheglorycookie", "totheglory2fa"},
{"transmithenet", "nebulance"}, // v
{"nebulance", "nebulanceapi"}, // ^
{"yourexotic", "exoticaz"}
};

View File

@@ -679,6 +679,7 @@ namespace Jackett.Updater
"Definitions/torrof.yml",
"Definitions/torviet.yml",
"Definitions/totallykids.yml",
"Definitions/totheglorycookie.yml", // renamed totheglory2fa
"Definitions/trackeros-api.yml",
"Definitions/trackeros.yml", // switch to *-API #12807
"Definitions/tspate.yml",