Files
drapi.net/drnetapi.csproj
retoor da6d3d747b chore: add AngleSharp dependency and refactor rant scraping to use CSS class queries
- Add AngleSharp NuGet package version 1.1.2 to csproj for HTML parsing
- Introduce DomQueryClass helper method using AngleSharp to extract elements by CSS class name
- Replace XPath-based node selection in get_rants with DomQueryClass targeting "rantlist-title-text"
- Update Program.cs to await RunIt task and add a 100-iteration loop around rant fetching
- Add transform string concatenation utility method to Program class
2024-12-17 11:10:58 +00:00

17 lines
468 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AngleSharp" Version="1.1.2" />
<PackageReference Include="GtkSharp" Version="3.24.24.95" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.71" />
</ItemGroup>
</Project>