Update Download() usage comment lines

This commit is contained in:
Nonoo
2023-08-15 11:51:02 +02:00
parent c1dcced791
commit f483ae69c8

View File

@ -427,9 +427,8 @@ type DownloadResult struct {
waitCh chan struct{}
}
// Download format matched by filter (usually a format id or "best").
// Filter should not be a combine filter like "1+2" as then youtube-dl
// won't write to stdout.
// Download format matched by filter (usually a format id or quality designator).
// If filter is empty, then youtube-dl will use "best" as the format by default.
func (result Result) Download(ctx context.Context, filter string) (*DownloadResult, error) {
debugLog := result.Options.DebugLog