change Download filter to best

This commit is contained in:
ar2rworld
2023-09-01 16:28:30 -04:00
parent 36319b5e0f
commit 9a0dc509a3

View File

@ -308,7 +308,7 @@ func TestDownloadSections(t *testing.T) {
if ydlResultErr != nil { if ydlResultErr != nil {
t.Errorf("failed to download: %s", ydlResultErr) t.Errorf("failed to download: %s", ydlResultErr)
} }
dr, err := ydlResult.Download(context.Background(), ydlResult.Info.Formats[0].FormatID) dr, err := ydlResult.Download(context.Background(), "best")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }