PAGINATION

Load more YouTube search and playlist results.

Search and playlist commands expose pagination through the underlying ytsearch.js page APIs and prompt when another page is available.

Search pagination

$ytsearch video "react"

When another page is available, the CLI can prompt Load next page? and continue through the underlying SearchResult.nextPage() flow.

Playlist pagination

The playlist-videos command uses playlist page pagination through PlaylistPage.nextPage(). Its command-specific default limit is 50.