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
This commit is contained in:
@@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("drnetapi")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9e0e316cd3b7bd2058c7ce9b967b5ac68422bf36")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7fb519f419449f9dc0b2470d5e22b37ba71c9969")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("drnetapi")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("drnetapi")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
f0a018514b0ac9989cefd4e8304d6c22b9ba22f2036bcbdc20cd35b98e0929b3
|
||||
885952bf447ff1bea5505c35b1c8231624b933a12c032ef1d33f249f3074a7e0
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
5e3e99658f7cc8eb082cd7c6cd551b3ff500dd816707657a9c3f556f838b6d19
|
||||
cb53997bd4f956d6fe419ccaf3b77c877689b448a89934fef62624a0029ccea3
|
||||
|
||||
@@ -46,3 +46,4 @@
|
||||
/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.pdb
|
||||
/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache
|
||||
/home/retoor/projects/drnetapi/obj/Debug/net8.0/ref/drnetapi.dll
|
||||
/home/retoor/projects/drnetapi/bin/Debug/net8.0/AngleSharp.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user