Skip to content

Commit

Permalink
Merge pull request #32 from Eldemarkki/reseptitaivas.fi
Browse files Browse the repository at this point in the history
Add reseptitaivas.fi
  • Loading branch information
jpbulman committed Feb 28, 2022
2 parents 6c7c4f5 + 799efb2 commit 240b16f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/domain/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const supportedDomains = [
'onceuponachef.com',
'pillsbury.com',
'pinchofyum.com',
'reseptitaivas.fi',
'sallysbakingaddiction.com',
'simplyrecipes.com',
'spendwithpennies.com',
Expand Down Expand Up @@ -209,6 +210,11 @@ export const recipeSelectors: domainInformationSelector = {
ingredientsSelector: 'div[class="tasty-recipes-ingredients"] > div > ul > li',
directionsSelector: 'div[class="tasty-recipes-instructions"] > div > ol > li'
},
'reseptitaivas.fi' : {
titleSelector: 'h1.post-title',
ingredientsSelector: 'div.post-content > ul > li',
directionsSelector: 'div.post-content > p:not(*[class="mobile-hidden"])'
},
'sallysbakingaddiction.com' : {
titleSelector: 'h2[class="tasty-recipes-title"]',
ingredientsSelector: 'div[class="tasty-recipes-ingredients-body"] > ul > li',
Expand Down

1 comment on commit 240b16f

@vercel
Copy link

@vercel vercel bot commented on 240b16f Feb 28, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.