feat: respect after upload date, use blank string for everything
All checks were successful
build / build (push) Successful in 2m4s

This commit is contained in:
Viktor Varland 2025-04-04 14:30:45 +02:00
parent dedb49f507
commit a53dbb0bec
Signed by: varl
GPG key ID: 7459F0B410115EE8

View file

@ -77,6 +77,11 @@ func Youtube(d Download, p config.Provider) {
args = append(args, "--no-cookies")
}
if p.After_date != "" {
args = append(args, "--dateafter")
args = append(args, p.After_date)
}
args = append(args, fullUrl.String())
cmd := exec.Command(p.Cmd, args...)