This commit is contained in:
parent
fcf1ef65d3
commit
db2bd135bc
|
|
@ -99,13 +99,14 @@ func Youtube(d Download, p config.Provider) {
|
|||
args = append(args, "--no-cookies")
|
||||
}
|
||||
|
||||
if p.Bgutil_server != "" {
|
||||
args = append(args, fmt.Sprintf("youtubepot-bgutilhttp:base_url=%s", p.Bgutil_server))
|
||||
}
|
||||
|
||||
var youtubeArgs []string
|
||||
if p.Po_token != "" {
|
||||
youtubeArgs = append(youtubeArgs, fmt.Sprintf("po_token=web.gvs+%s", p.Po_token))
|
||||
}
|
||||
if p.Bgutil_server != "" {
|
||||
youtubeArgs = append(youtubeArgs, fmt.Sprintf("getpot_bgutil_baseurl=%s", p.Bgutil_server))
|
||||
}
|
||||
if p.Player_client != "" {
|
||||
youtubeArgs = append(youtubeArgs, fmt.Sprintf("player_client=%s", p.Player_client))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue