{"id":15202989,"url":"https://github.com/nstevens1040/anglesharpparser","last_synced_at":"2026-03-06T08:31:23.355Z","repository":{"id":158476450,"uuid":"634071621","full_name":"nstevens1040/AngleSharpParser","owner":"nstevens1040","description":"This .NET 6.0 library uses AngleSharp to parse an HTML string into a DOM. It is written such that it can be easily used in PowerShell Core.","archived":false,"fork":false,"pushed_at":"2023-04-30T14:52:42.000Z","size":531,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T22:42:38.642Z","etag":null,"topics":["csharp","document-object-model","dom","dotnet-6","dotnet-core","html","net-core","net-core-6","net6","parse","parser","powershell","powershell-core"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nstevens1040.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-29T00:55:31.000Z","updated_at":"2023-04-29T01:04:10.000Z","dependencies_parsed_at":"2023-05-31T02:45:10.943Z","dependency_job_id":null,"html_url":"https://github.com/nstevens1040/AngleSharpParser","commit_stats":{"total_commits":61,"total_committers":3,"mean_commits":"20.333333333333332","dds":"0.049180327868852514","last_synced_commit":"c780405c3df89603b8174e41749aba8addb6da82"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FAngleSharpParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FAngleSharpParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FAngleSharpParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2FAngleSharpParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nstevens1040","download_url":"https://codeload.github.com/nstevens1040/AngleSharpParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005068,"owners_count":20056424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","document-object-model","dom","dotnet-6","dotnet-core","html","net-core","net-core-6","net6","parse","parser","powershell","powershell-core"],"created_at":"2024-09-28T04:21:26.586Z","updated_at":"2026-03-06T08:31:23.306Z","avatar_url":"https://github.com/nstevens1040.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/115e41aqm9s820b5?svg=true)](https://ci.appveyor.com/project/nstevens1040/anglesharpparser)  \n# AngleSharpParser  \n## PowerShell Core Quick Start  \n### Load the DLL into PowerShell Core\n```ps1\ntry { Set-ExecutionPolicy Bypass -Scope Process -Force } catch {}\n[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072\n[System.Net.WebClient]::New().DownloadFile(\n    \"https://github.com/nstevens1040/AngleSharpParser/releases/latest/download/AngleSharpParser-latest.nupkg\",\n    \"$($ENV:USERPROFILE)\\Desktop\\AngleSharpParser-latest.nupkg\"\n)\n$null = mkdir \"$($ENV:USERPROFILE)\\Desktop\\AngleSharpParser-latest\"\nExpand-Archive -Path \"$($ENV:USERPROFILE)\\Desktop\\AngleSharpParser-latest.nupkg\" -DestinationPath \"$($ENV:USERPROFILE)\\Desktop\\AngleSharpParser-latest\"\nAdd-Type -Path \"$($ENV:USERPROFILE)\\Desktop\\AngleSharpParser-latest\\lib\\net6.0\\AngleSharpParser.dll\"\n```  \n### Do a simple test\n```ps1\n$html_string = @\"\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n    \u003chead\u003e\n        \u003cmeta charset=\"utf-8\"/\u003e\n        \u003cmeta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/\u003e\n        \u003ctitle\u003eTesting HTML\u003c/title\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003ch1\u003eHeading\u003c/h1\u003e\n        \u003carticle\u003e\n            \u003csection\u003e\n                \u003ch2\u003esubtitle\u003c/h2\u003e\n                \u003cp\u003eparagraph\u003c/p\u003e\n                \u003cspan id=\"test\"\u003eTest succeeded!\u003c/span\u003e\n            \u003c/section\u003e\n        \u003c/article\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n\"@\n$parser = [Angle.Sharp]::New()\n$document = $parser.GetDomDocument($html_string)\n$document.GetElementById(\"test\").TextContent\n```  \nThe output should read\n```ps1\nTest succeeded!\n```  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Fanglesharpparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstevens1040%2Fanglesharpparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Fanglesharpparser/lists"}