Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
fix filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Oct 23, 2023
1 parent 6921c35 commit e5886f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/newYtDownload.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (v *YoutubeVideo) Download() error {
}
defer v.pool.ReleaseIP(sourceAddress)
quality := qualities[qualityIndex]
dynamicArgs := append(ytdlArgs, "-fbestvideo[ext=mp4][vcodec!*=av01][vcodec!*=vp09][height<="+quality+"]+bestaudio[ext!=webm][format_id!=258][format_id!=380][format_id!=251][format_id!=256][format_id!=327][format_id!=328][format_id!=380]")
dynamicArgs := append(ytdlArgs, "-fbestvideo[ext=mp4][vcodec!*=av01][vcodec!*=vp09][height<="+quality+"]+bestaudio[ext!=webm][format_id!*=258][format_id!*=380][format_id!*=251][format_id!*=256][format_id!*=327][format_id!*=328][format_id!*=380]")
dynamicArgs = append(dynamicArgs, userAgent...)
dynamicArgs = append(dynamicArgs,
"--source-address",
Expand Down

0 comments on commit e5886f0

Please sign in to comment.