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