Skip to content

Invidious is an alternative front-end to YouTube

Captions: Add ability to use Innertube's transcripts API (#4001)

Samantaz Fox842e9fade584
diff --cc src/invidious/config.cr
index cee33ce1,c88a4837..429d9246
--- a/src/invidious/config.cr
+++ b/src/invidious/config.cr
@@@ -126,7 -126,12 +126,10 @@@ class Confi
property host_binding : String = "0.0.0.0"
# Pool size for HTTP requests to youtube.com and ytimg.com (each domain has a separate pool of `pool_size`)
property pool_size : Int32 = 100
- # Use quic transport for youtube api
- property use_quic : Bool = false
+ # Use Innertube's transcripts API instead of timedtext for closed captions
+ property use_innertube_for_captions : Bool = false
+
# Saved cookies in "name1=value1; name2=value2..." format
@[YAML::Field(converter: Preferences::StringToCookies)]
property cookies : HTTP::Cookies = HTTP::Cookies.new