Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract created date and use in Redlib #93

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Extract created date and use in Redlib #93

merged 3 commits into from
Sep 11, 2024

Conversation

maxisoft
Copy link
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
38 checks passed
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