Skip to content

Commit

Permalink
fix(youtube): playlist not searched when it contains hidden videos
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Mar 11, 2023
1 parent ceffc67 commit 1898238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const searchPlaylist = async (
query: string,
limit?: number
): Promise<SearchResult[]> => {
const playlistInfo = await playlist_info(query);
const playlistInfo = await playlist_info(query, { incomplete: true });
let playlistVideos: YouTubeVideo[] = playlistInfo.page(1);

// limit/fetch more videos (playlist will only include first 100 songs by default)
Expand Down

0 comments on commit 1898238

Please sign in to comment.