feat: respect after upload date, use blank string for everything
All checks were successful
build / build (push) Successful in 2m4s
All checks were successful
build / build (push) Successful in 2m4s
This commit is contained in:
parent
dedb49f507
commit
a53dbb0bec
|
|
@ -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...)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue