feat(content): add ModDB HTML page parser and Playwright headless service - #398
Open
undead2146 wants to merge 2 commits into
Open
feat(content): add ModDB HTML page parser and Playwright headless service#398undead2146 wants to merge 2 commits into
undead2146 wants to merge 2 commits into
Conversation
…n playwright context lifecycle
undead2146
force-pushed
the
feat/moddb-playwright-parser
branch
from
August 19, 2026 12:10
451d3af to
f21f124
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a managed headless Chromium runtime using Playwright and a robust HTML parser for scraping ModDB mod, addon, and map detail pages.
Note
This is a self-contained feature PR carved out of #265 and must be merged ahead of #265.
Motivation
ModDB pages contain rich metadata, multi-part download mirrors, screenshots, changelogs, and dependency relationships that need structured normalization for client downloads.
Changes
IWebPageParserandIPlaywrightServiceinterfaces.ModDBFilter,ModDBCategoryMapper,MapDetails,Comment,DownloadableFile, andFileSectionType.PlaywrightServicewith managed Chromium browser lifecycle, stealth configuration, and session cookie persistence.ModDBPageParserfor extracting structured game content, direct mirrors, and media galleries.HtmlTextHelperfor clean string normalization and markup stripping.ContentPipelineModule.ModDBPageParserTests.cs,ManagedChromiumRuntimeTests.cs,ModDBCategoryMapperTests.cs, andHtmlTextHelperTests.cs.Verification