Web scrapper for https://www.ilcats.ru/
- [src] - solution
- [sql] - sql scripts (create db and test data)
- [assets] - images
- Domain - domain of parser, entities and base business logic
- Application - application layer: use case (parse)
- Infrastructure - infrastructure layer: sql server, parsers etc
- CarParser - console application for parsing
Run console application with argument
dotnet CarParser.dll Url="url_to_manufacturer_models_page"
Supported only Toyota manufacturer
From Infrastructure directory
dotnet ef migrations add NAME --startup-project "..\CarParser\CarParser.csproj"
dotnet ef database update --startup-project "..\CarParser\CarParser.csproj"
Near executable file (example below)
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
"Microsoft.Hosting.Lifetime": "Warning"
}
},
"ConnectionStrings": {
"CarDbConnection": "YOUR_CONNECTION_STRING_TO_MSSQL"
}
}