Skip to content

Extract created date and use in Redlib#93

Merged
maxisoft merged 3 commits intomainfrom
dev
Sep 11, 2024
Merged

Extract created date and use in Redlib#93
maxisoft merged 3 commits intomainfrom
dev

Conversation

@maxisoft
Copy link
Copy Markdown
Owner

This pull request introduces a new feature to extract the created date from the Redlib HTML response and store it in the RedditGameEntry object.

This enhances data accuracy and allows for more precise analysis and filtering of Reddit game entries.

- Extracted the created date from the Redlib HTML response.
- Added a new field `Date` to `RedlibGameEntry` to store the extracted date.
- Updated `RedlibHtmlParser.ParseGamesFromHtml` to return a collection of `RedlibGameEntry` with the populated `Date` field.
- Modified `RedlibGameEntry.ToRedditGameEntry` to use the provided `Date` when available, falling back to the current time otherwise.

This commit improves data accuracy and enables the use of the created date in the `RedditGameEntry` object.
@maxisoft maxisoft self-assigned this Sep 11, 2024
@maxisoft maxisoft merged commit 2707ba6 into main Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant