ytdl-web/pkg/ytdl/config.go

25 lines
480 B
Go

package ytdl
type CookiesFromBrowserConfig struct {
Browser string
Keyring string
Profile string
Container string
}
type CookiesConfig struct {
Enabled bool
FilePath string
FromBrowser CookiesFromBrowserConfig
}
type Config struct {
BinaryPath string
CookiesEnabled bool
CookiesFilePath string
CookiesBrowser string
CookiesBrowserKeyring string
CookiesBrowserProfile string
CookiesBrowserContainer string
}