initial commit

This commit is contained in:
fox
2026-06-23 19:03:31 +01:00
commit 689276ea7d
102 changed files with 8740 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
using Microsoft.Extensions.DependencyInjection;
using Solicitors.HtmlParsing;
var _html = File.ReadAllText("/var/home/fox/main.html");
var services = new ServiceCollection();
services.AddHtmlParsing();
var parser = services.BuildServiceProvider().GetRequiredService<IHtmlParser>();
var htmlNodes = parser.ParseHtml(_html).ToArray();
Console.ReadKey();
+24
View File
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions">
<HintPath>..\..\..\..\..\..\..\..\var\home\fox\.dotnet\shared\Microsoft.AspNetCore.App\10.0.7\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\libs\Solicitors.HtmlParsing\Solicitors.HtmlParsing.csproj" />
</ItemGroup>
</Project>