Integrate transcript captions into captions API

This commit is contained in:
syeopite
2023-07-23 05:02:02 -07:00
parent caac7e2166
commit e4942b188f
5 changed files with 91 additions and 54 deletions

View File

@@ -129,6 +129,9 @@ class Config
# 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