YoutubeExplode constructor
YoutubeExplode([
- YoutubeHttpClient? httpClient
Initializes an instance of YoutubeClient
.
Implementation
YoutubeExplode([YoutubeHttpClient? httpClient])
: _httpClient = httpClient ?? YoutubeHttpClient() {
videos = VideoClient(_httpClient);
playlists = PlaylistClient(_httpClient);
channels = ChannelClient(_httpClient);
search = SearchClient(_httpClient);
}