fix 403 error

This commit is contained in:
Niko Storni 2020-04-21 20:56:14 +02:00
parent 0ccc6e7979
commit fbe09a692c

View file

@ -205,6 +205,7 @@ func (v *YoutubeVideo) download() error {
"-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"), "-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
"--merge-output-format", "--merge-output-format",
"mp4", "mp4",
"--rm-cache-dir",
"--postprocessor-args", "--postprocessor-args",
"-movflags faststart", "-movflags faststart",
"--abort-on-unavailable-fragment", "--abort-on-unavailable-fragment",