This commit is contained in:
Galiley
2023-08-16 17:19:03 +02:00
parent fcfd4acd74
commit f97b09d082
2 changed files with 5 additions and 3 deletions

View File

@ -343,7 +343,7 @@ func TestDownloadPlaylistEntry(t *testing.T) {
}
dr, err := r.DownloadWithOptions(context.Background(), goutubedl.DownloadOptions{
PlaylistIndex: playlistIndex + 1,
PlaylistIndex: int(r.Info.Entries[playlistIndex].PlaylistIndex),
Filter: r.Info.Entries[playlistIndex].Formats[0].FormatID,
})
if err != nil {