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: Use Scraped URL instead of Open Graph URL when importing a recipe via URL #2822

Conversation

michael-genson
Copy link
Collaborator

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Currently, when scraping a site using the Open Graph scraper, we use the og:url tag as the recipe's original URL. This is fine if the site provides it, but it doesn't always (and it could also just be wrong) so instead we use the user-provided URL (which is always correct).

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #2403

@boc-the-git boc-the-git merged commit a6ec488 into mealie-recipes:mealie-next Dec 11, 2023
6 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.

original_url property missing when open-graph tags are used for import
2 participants