Refactor MobyGamesHttpClient to support cookie management and enhance image URL extraction

- Added cookie handling capabilities to MobyGamesHttpClient, allowing for authenticated sessions.
- Updated ExtractFullSizeImageUrl method to prioritize MobyPlus original-resolution images.
- Renamed legacy method ExtractFullSizeScreenshotUrl to ExtractFullSizeImageUrl for clarity.
- Introduced SearchDiscoveryScraper to replace the deprecated SitemapDiscoveryScraper, improving game discovery efficiency.
- Removed SitemapDiscoveryScraper as it is no longer needed.
- Adjusted PromoArtDownloadService and ScreenshotDownloadService to utilize the new image URL extraction method.
- Simplified batch processing logic in NewGameRawFetcher for clarity and efficiency.
This commit is contained in:
2026-05-17 19:40:14 +01:00
parent d4b59d5146
commit 7ca830bbc5
15 changed files with 1505 additions and 409 deletions

1
.gitignore vendored
View File

@@ -455,3 +455,4 @@ appsettings.Development.json
appsettings.Production.json
*.sql
Marechai.MobyGames/appsettings.json
Marechai.MobyGames/state/