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

Handle edge cases better #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Handle edge cases better #5

wants to merge 1 commit into from

Conversation

AseCoder
Copy link
Contributor

@AseCoder AseCoder commented Dec 30, 2024

I reworked the parsing of the location data and handled the case where there is no location mentioned in the article.

In the future the happeningsKeywords array can be populated with new matching words to handle more edge cases of the same kind.

This PR has been tested on these four articles that previously had incomplete or broken embeds:
https://avherald.com/h?article=511b6005
https://avherald.com/h?article=51195afc
https://avherald.com/h?article=52225189
https://avherald.com/h?article=521c2925

Closes #3

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.

Increase information density
1 participant