Skip to content

Conversation

Pebkac03
Copy link

@Pebkac03 Pebkac03 commented Mar 25, 2024

I've added a scraper for Drinkoteket.se.

This one was a bit tricky with the ingredients since they don't provide amounts in their schema. This works by parsing a list from the HTML with ingredients and then removing everything below the separator since those elements aren't part of the ingredients.

Resolves #1042

@Pebkac03 Pebkac03 mentioned this pull request Mar 25, 2024
@Pebkac03 Pebkac03 changed the title Added scraper for Drinkoteket.se Added scraper for Drinkoteket.se Closes #1023 Mar 25, 2024
@Pebkac03 Pebkac03 changed the title Added scraper for Drinkoteket.se Closes #1023 Added scraper for Drinkoteket.se Closes #1042 Mar 25, 2024
@Pebkac03 Pebkac03 changed the title Added scraper for Drinkoteket.se Closes #1042 Added scraper for Drinkoteket.se Mar 25, 2024
@jknndy
Copy link
Collaborator

jknndy commented Mar 26, 2024

Hi @Pebkac03, just a quick note. If you add Resolves #1042 to the original description of the PR (pull request) on a new line it will automatically close the issue you opened once this PR is merged.

@Pebkac03
Copy link
Author

Pebkac03 commented May 5, 2024

Thanks, I will do that. I realized that the site has a tendency of not having a standard way of doing many things leading me to suspect a substantial risk of annoying edge cases requiring a lot of testing to be certain of it being bug-free which I currently do not have the time for. You could either merge it as is if you want, there are very few recipes with a differing serving amount or if you feel it needs to be more stable, mark it as a draft and I'll do it sometime in the future unless anyone else wants to contribute.

Pebkac03 and others added 5 commits May 6, 2024 02:04
Remove unncessary methods, cleanup ingredients, add exception for yields, add equipment coverage, updated html and json
@jknndy jknndy requested a review from hhursev August 6, 2025 21:13
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.

Drinkoteket.se
4 participants