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

fix: html with no metadata image #328

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

andremacola
Copy link
Contributor

I noticed that the current implementation of the xpath selector may return the wrong content in some cases. Specifically, when there is no og:image property present

To fix this, I updated the xpath selector.

@andremacola andremacola marked this pull request as ready for review April 21, 2023 04:49
@andremacola andremacola changed the title fix: html with metadata image fix: html with no metadata image Apr 21, 2023
@adbar
Copy link
Owner

adbar commented Apr 21, 2023

Hi @andremacola, that makes perfect sense, thanks!

@adbar adbar merged commit 82043f7 into adbar:master Apr 21, 2023
17 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.

None yet

2 participants