feat(search): open game details directly from a URL (#189)#205
Merged
Conversation
…tered (#189) - Contracts: add DetailsPageRegex to IGameDownloader; add FetchDetails(string) overload to IGameDetailProvider - Contracts: add DownloadManagerResult to replace the GetGames tuple return type - GameDownloaderBase: add virtual DetailsPageRegex (null) and FetchDetails(string) (returns null) defaults - GameDownloadManager: before search, check if any downloader recognises the input as a detail URL and short-circuit to FetchDetails - TrCustomsGameDownloader: implement DetailsPageRegex via [GeneratedRegex]; implement FetchDetails(string) using Newtonsoft + SnakeCaseNamingStrategy to correctly deserialise last_file - TrCustomsUrlUtils: extract URL construction helpers (GetDetailsLink, GetApiDetailsLink, GetReviewsLink, GetDownloadLink) - SearchMapper: add ToViewModel(IGameSearchResultMetadata) overload for single-result mapping - GameSearchService: handle DownloadManagerResult.Details — open detail view directly instead of showing search results Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…be (#189) - Add DetailsPageRegex via [GeneratedRegex] to match raidingtheglobe.com detail page URLs - Extract DetailsLink from listing page HTML (koowa_header__title_link anchor) - Implement FetchDetails(string): match by last URL segment in page-1 results, then fetch full details - Extract SizeRegex as [GeneratedRegex] for consistency Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add DetailsPageRegex via [GeneratedRegex] to match trle.net levelfeatures.php?lid= URLs - Extract FetchDetailPage private helper to avoid duplicate HTTP calls - Implement FetchDetails(string): scrapes title, author, TitlePic, description, DownloadLink, ReviewsLink, WalkthroughLink, difficulty, duration, rating, file size, engine, release date, review count from the detail page HTML Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tered (#189) - Contracts: add DetailsPageRegex to IGameDownloader; add FetchDetails(string) overload to IGameDetailProvider - Contracts: add DownloadManagerResult to replace the GetGames tuple return type - GameDownloaderBase: add virtual DetailsPageRegex (null) and FetchDetails(string) (returns null) defaults - GameDownloadManager: before search, check if any downloader recognises the input as a detail URL and short-circuit to FetchDetails - TrCustomsGameDownloader: implement DetailsPageRegex via [GeneratedRegex]; implement FetchDetails(string) using Newtonsoft + SnakeCaseNamingStrategy to correctly deserialise last_file - TrCustomsUrlUtils: extract URL construction helpers (GetDetailsLink, GetApiDetailsLink, GetReviewsLink, GetDownloadLink) - SearchMapper: add ToViewModel(IGameSearchResultMetadata) overload for single-result mapping - GameSearchService: handle DownloadManagerResult.Details — open detail view directly instead of showing search results Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…be (#189) - Add DetailsPageRegex via [GeneratedRegex] to match raidingtheglobe.com detail page URLs - Extract DetailsLink from listing page HTML (koowa_header__title_link anchor) - Implement FetchDetails(string): match by last URL segment in page-1 results, then fetch full details - Extract SizeRegex as [GeneratedRegex] for consistency Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add DetailsPageRegex via [GeneratedRegex] to match trle.net levelfeatures.php?lid= URLs - Extract FetchDetailPage private helper to avoid duplicate HTTP calls - Implement FetchDetails(string): scrapes title, author, TitlePic, description, DownloadLink, ReviewsLink, WalkthroughLink, difficulty, duration, rating, file size, engine, release date, review count from the detail page HTML Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ombLauncher into feature/url-awareness
) - Extract FetchDetailPage private helper to avoid duplicate HTTP calls - Implement FetchDetails(string): scrapes title, author(s), release date, engine, rating, description, DownloadLink, ReviewsLink, WalkthroughLink, and first gallery image from the detail page HTML Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Closes #189