Skip to content

Commit

Permalink
Add reseptitaivas.fi
Browse files Browse the repository at this point in the history
  • Loading branch information
Eldemarkki committed Feb 27, 2022
1 parent 6587f74 commit 799efb2
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 @@ -25,6 +25,7 @@ export const supportedDomains = [
'onceuponachef.com',
'pillsbury.com',
'pinchofyum.com',
'reseptitaivas.fi',
'sallysbakingaddiction.com',
'simplyrecipes.com',
'spendwithpennies.com',
Expand Down Expand Up @@ -180,6 +181,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

0 comments on commit 799efb2

Please sign in to comment.