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

feat: add regex to url before scraping #4174

Open
wants to merge 2 commits into
base: mealie-next
Choose a base branch
from

Conversation

jlssmt
Copy link

@jlssmt jlssmt commented Sep 8, 2024

What type of PR is this?

  • bug
  • feature

What this PR does / why we need it:

every url string will be formatted before imported
chefkoch.de app for example generates this kind of string when pressing the "share dish" button:

Hunger? Rezept auf Chefkoch.de:
Kürbis-Linsen-Lasagne

vegetarisch, Resteverwertung

https://www.chefkoch.de/rezepte/3104901463397655/Kuerbis-Linsen-Lasagne.html?utm_medium=sharing&utm_source=chefkoch_android_app&utm_campaign=sharing_rds_ck_android

yes. it generates the whole multiline string.
amazon app also adds text before the url when sharing...
so i bet there are other recipe apps also doing this.

Which issue(s) this PR fixes:

the issue I have in my brain, but not on github ;-)

Testing

manual

@jlssmt jlssmt force-pushed the add-regex-to-url-before-scraping branch 4 times, most recently from 3bcc72a to bbd2532 Compare September 8, 2024 11:18
@jlssmt jlssmt force-pushed the add-regex-to-url-before-scraping branch from d6794b7 to bdd6200 Compare September 12, 2024 14:55
@jlssmt jlssmt changed the title add regex to url before scraping feat: add regex to url before scraping Sep 12, 2024
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