GoogleCarPictureScraper 1.0.1
dotnet add package GoogleCarPictureScraper --version 1.0.1
NuGet\Install-Package GoogleCarPictureScraper -Version 1.0.1
<PackageReference Include="GoogleCarPictureScraper" Version="1.0.1" />
<PackageVersion Include="GoogleCarPictureScraper" Version="1.0.1" />
<PackageReference Include="GoogleCarPictureScraper" />
paket add GoogleCarPictureScraper --version 1.0.1
#r "nuget: GoogleCarPictureScraper, 1.0.1"
#:package GoogleCarPictureScraper@1.0.1
#addin nuget:?package=GoogleCarPictureScraper&version=1.0.1
#tool nuget:?package=GoogleCarPictureScraper&version=1.0.1
Google Car Picture Scraper
All Methods are static.
Code Example
// Gets ten image uris as string from google, from some brand at position 20
List<string> pictures = await CarScraper.GetCarImagesAsync(brands[20]);
// Gets 20 image uris as string from google, from some brand at position 20 with color blue
// Maximal 20 pictures can be scraped
pictures = await CarScraper.GetCarImagesAsync(brands[20], 20, "blue");
foreach (var picture in pictures)
{
// Get the bytes from the picture
var pictureBytes = await CarScraper.LoadImageAsync(new Uri(picture));
// Saves the bytes from above to a .jpg file
await File.WriteAllBytesAsync($"{Guid.NewGuid().ToString()}.jpg", pictureBytes);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- HtmlAgilityPack (>= 1.11.46)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.