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: Better Scraper Image Processing #2821

Conversation

michael-genson
Copy link
Collaborator

@michael-genson michael-genson commented Dec 11, 2023

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

When the scraper encounters an image tag format it doesn't recognize, it throws an error. This PR makes it log the error but continue to parse without an image.

I also added an additional pattern to account for https://www.maangchi.com (even though it looks like they're using the schema wrong).

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #2358

Testing

(fill-in or delete this section)

Importing https://www.maangchi.com/recipe/kkanpunggi

Copy link
Collaborator

@Kuchenpirat Kuchenpirat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kuchenpirat Kuchenpirat enabled auto-merge (squash) December 11, 2023 09:17
@Kuchenpirat Kuchenpirat merged commit 5a153b1 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.

[v1.0.0b] - Recipe import fails on image for maangchi.com
2 participants