tokens: use http instead of redis to get the tokens

It should be compatible with github.com/iv-org/youtube-trusted-session-generator
This commit is contained in:
Fijxu
2024-12-14 17:10:30 -03:00
parent 91bcec72c8
commit 58c4d8c951
5 changed files with 41 additions and 46 deletions

View File

@@ -192,15 +192,14 @@ class Config
# at the start of the URI
property external_videoplayback_proxy : Array(NamedTuple(url: String, balance: Bool)) = [] of NamedTuple(url: String, balance: Bool)
# Job to refresh tokens from a Redis compatible DB
property refresh_tokens : Bool = true
property pubsub_domain : String = ""
property ignore_user_tokens : Bool = false
property server_id_cookie_name : String = "INVIDIOUS_SERVER_ID"
property tokens_server : String = ""
{% if flag?(:linux) %}
property reload_config_automatically : Bool = true
{% end %}