YoutubeScraper constructor
YoutubeScraper({
- YouTubeScrapeHttpClient? httpClient,
The default implementation of YoutubeScraper.
httpClient
is used for performing HTTP operations. The default value
is YouTubeScraperHttpClientImpl which uses http.Client
.
This can be useful when using a proxy or using a different implementation
for the HTTP requests (e.g. Dio).
Implementation
factory YoutubeScraper({
YouTubeScrapeHttpClient? httpClient,
}) {
return YouTubeScraperImpl(httpClient: httpClient);
}