feat: pass cookies to youtube
This commit is contained in:
parent
9d70d08dc4
commit
62d9835302
|
|
@ -13,6 +13,7 @@ type Provider struct {
|
|||
Range string
|
||||
After_date string
|
||||
Cmd string
|
||||
Cookies string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ func Get(d Download, p config.Provider) {
|
|||
"--playlist-items", p.Range,
|
||||
"--restrict-filenames",
|
||||
"--embed-metadata",
|
||||
"--cookies", p.Cookies,
|
||||
)
|
||||
|
||||
stdout, err := cmd.StdoutPipe()
|
||||
|
|
|
|||
Loading…
Reference in a new issue