From f483ae69c8c5cf0cbd8bf9661dda50ad13b2ab2a Mon Sep 17 00:00:00 2001 From: Nonoo Date: Tue, 15 Aug 2023 11:51:02 +0200 Subject: [PATCH] Update Download() usage comment lines --- goutubedl.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/goutubedl.go b/goutubedl.go index 4e2110c..70ec26b 100644 --- a/goutubedl.go +++ b/goutubedl.go @@ -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