You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gobalt.go
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ import (
16
16
)
17
17
18
18
var (
19
-
CobaltApi="https://co.wuk.sh"//Override this value to use your own cobalt instance. See https://instances.hyper.lol/ for alternatives from the main instance.
20
-
UserLanguage="en"//Replace this following the ISO 639-1 standard. This downloads dubbed YouTube audio according to the language set here. Only takes effect if DubbedYoutubeAudio is set to true.
CobaltApi="https://api.cobalt.tools"//Override this value to use your own cobalt instance. See https://instances.hyper.lol/ for alternatives from the main instance.
20
+
UserLanguage="en"//Replace this following the ISO 639-1 standard. This downloads dubbed YouTube audio according to the language set here. Only takes effect if DubbedYoutubeAudio is set to true.
client= http.Client{Timeout: 10*time.Second} //Reuse the HTTP client
23
23
)
24
24
@@ -67,7 +67,7 @@ type Settings struct {
67
67
AudioCodecaudioCodec`json:"aFormat"`//MP3, Opus, Ogg or Wav. If not specified will default to best.
68
68
FilenamePatternpattern`json:"filenamePattern"`//Classic, Basic, Pretty or Nerdy. Defaults to Pretty
69
69
AudioOnlybool`json:"isAudioOnly"`//Removes the video, downloads audio only. Default: false
70
-
UseVimeoDashbool`json:"vimeoDash"`//Changes whether streamed file type is preferred for vimeo videos.. Default: false
70
+
TikTokH265bool`json:"tiktokH265"`//Changes whether 1080p h265 [tiktok] videos are preferred or not. Default: false
71
71
FullTikTokAudiobool`json:"isTTFullAudio"`//Enables download of original sound used in a tiktok video. Default: false
72
72
VideoOnlybool`json:"isAudioMuted"`//Downloads only the video, audio is muted/removed. Default: false
73
73
DubbedYoutubeAudiobool`json:"dubLang"`//Pass the User-Language HTTP header to use the dubbed audio of the respective language, must change according to user's preference, default is English (US). Uses ISO 639-1 standard.
0 commit comments