-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dinneratthezoo * evolvingtable * onesweetappetite * kristineskitchenblog * allthehealthythings
- Loading branch information
Showing
23 changed files
with
17,276 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# mypy: allow-untyped-defs | ||
|
||
from ._abstract import AbstractScraper | ||
from ._grouping_utils import group_ingredients | ||
|
||
|
||
class AllTheHealthyThings(AbstractScraper): | ||
@classmethod | ||
def host(cls): | ||
return "allthehealthythings.com" | ||
|
||
def ingredient_groups(self): | ||
return group_ingredients( | ||
self.ingredients(), | ||
self.soup, | ||
".tasty-recipes-ingredients-body strong", | ||
".tasty-recipes-ingredients-body li", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# mypy: allow-untyped-defs | ||
|
||
from ._abstract import AbstractScraper | ||
|
||
|
||
class DinnerAtTheZoo(AbstractScraper): | ||
@classmethod | ||
def host(cls): | ||
return "dinneratthezoo.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# mypy: allow-untyped-defs | ||
|
||
from ._abstract import AbstractScraper | ||
from ._grouping_utils import group_ingredients | ||
|
||
|
||
class EvolvingTable(AbstractScraper): | ||
@classmethod | ||
def host(cls): | ||
return "evolvingtable.com" | ||
|
||
def ingredient_groups(self): | ||
return group_ingredients( | ||
self.ingredients(), | ||
self.soup, | ||
".wprm-recipe-ingredient-group h4", | ||
".wprm-recipe-ingredient", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# mypy: allow-untyped-defs | ||
|
||
from ._abstract import AbstractScraper | ||
from ._grouping_utils import group_ingredients | ||
|
||
|
||
class KristinesKitchenBlog(AbstractScraper): | ||
@classmethod | ||
def host(cls): | ||
return "kristineskitchenblog.com" | ||
|
||
def ingredient_groups(self): | ||
return group_ingredients( | ||
self.ingredients(), | ||
self.soup, | ||
".wprm-recipe-ingredient-group h4", | ||
".wprm-recipe-ingredient", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# mypy: allow-untyped-defs | ||
|
||
from ._abstract import AbstractScraper | ||
from ._utils import get_equipment, normalize_string | ||
|
||
|
||
class OneSweetAppetite(AbstractScraper): | ||
@classmethod | ||
def host(cls): | ||
return "onesweetappetite.com" | ||
|
||
def equipment(self): | ||
equipment_items = [ | ||
normalize_string(e.get_text()) | ||
for e in self.soup.find_all("div", class_="wprm-recipe-equipment-name") | ||
] | ||
return get_equipment(equipment_items) |
81 changes: 81 additions & 0 deletions
81
tests/test_data/allthehealthythings.com/allthehealthythings_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"author": "Ashlea Carver", | ||
"canonical_url": "https://allthehealthythings.com/cheddar-jalapeno-cornbread/", | ||
"site_name": "All the Healthy Things", | ||
"host": "allthehealthythings.com", | ||
"language": "en-US", | ||
"title": "Cheddar Jalapeño Cornbread with Whipped Hot Honey Butter", | ||
"ingredient_groups": [ | ||
{ | ||
"ingredients": [ | ||
"1 cup all purpose flour", | ||
"1 cup yellow cornmeal", | ||
"1 tablespoon baking powder", | ||
"1 teaspoon salt", | ||
"4 oz sharp yellow cheddar, shredded", | ||
"1 jalapeño pepper, seeds removed and finely diced", | ||
"1 1/2 cups buttermilk", | ||
"2 eggs", | ||
"1/4 cup unsalted butter, melted + 2 tablespoons unsalted butter", | ||
"flakey sea salt, for garnish" | ||
], | ||
"purpose": null | ||
}, | ||
{ | ||
"ingredients": [ | ||
"1/2 cup (1 stick) unsalted butter, softened", | ||
"1/4 cup hot honey, plus more for serving", | ||
"pinch of salt" | ||
], | ||
"purpose": "Whipped Hot Honey Butter" | ||
} | ||
], | ||
"ingredients": [ | ||
"1 cup all purpose flour", | ||
"1 cup yellow cornmeal", | ||
"1 tablespoon baking powder", | ||
"1 teaspoon salt", | ||
"4 oz sharp yellow cheddar, shredded", | ||
"1 jalapeño pepper, seeds removed and finely diced", | ||
"1 1/2 cups buttermilk", | ||
"2 eggs", | ||
"1/4 cup unsalted butter, melted + 2 tablespoons unsalted butter", | ||
"flakey sea salt, for garnish", | ||
"1/2 cup (1 stick) unsalted butter, softened", | ||
"1/4 cup hot honey, plus more for serving", | ||
"pinch of salt" | ||
], | ||
"instructions": "Place a 8 or 9 inch skillet in the oven and then set to preheat at 400 degrees.\nTo a large mixing bowl add the corn meal, flour, baking powder, and salt. Then, add the shredded cheese and jalapeño and stir until well combined.\nIn another bowl, whisk together the eggs, buttermilk, and 1/4 cup melted butter.\nPour the wet ingredients into the dry and gently fold until everything is well combined.\nRemove the hot skillet from the oven and add 2 tablespoons of butter. Add the skillet back to the oven and let melt completely. Once the butter has melted, remove the skillet from the oven and swirl the butter around until the skillet is fully coated. Pour the batter into the hot skillet.\nBake the cornbread for around 25-30 minutes at 400 degrees or until a toothpick comes out clean. The center of the cornbread should be puffed and the edges golden brown.\nMake the Whipped Hot Honey Butter\nWhile the cornbread is baking make the whipped honey butter. Add the softened butter and honey to a mixing bowl. Use a hand mixer to beat at high speed for 1 minute until fluffy.\nWhile the cornbread is still hot, brush some of the honey butter overtop of the cornbread. Let cool for a few minutes and then slice the cornbread into 8 slices and serve warm with an extra dollop of honey butter, a drizzle of hot honey, and flaky sea salt.", | ||
"instructions_list": [ | ||
"Place a 8 or 9 inch skillet in the oven and then set to preheat at 400 degrees.", | ||
"To a large mixing bowl add the corn meal, flour, baking powder, and salt. Then, add the shredded cheese and jalapeño and stir until well combined.", | ||
"In another bowl, whisk together the eggs, buttermilk, and 1/4 cup melted butter.", | ||
"Pour the wet ingredients into the dry and gently fold until everything is well combined.", | ||
"Remove the hot skillet from the oven and add 2 tablespoons of butter. Add the skillet back to the oven and let melt completely. Once the butter has melted, remove the skillet from the oven and swirl the butter around until the skillet is fully coated. Pour the batter into the hot skillet.", | ||
"Bake the cornbread for around 25-30 minutes at 400 degrees or until a toothpick comes out clean. The center of the cornbread should be puffed and the edges golden brown.", | ||
"Make the Whipped Hot Honey Butter", | ||
"While the cornbread is baking make the whipped honey butter. Add the softened butter and honey to a mixing bowl. Use a hand mixer to beat at high speed for 1 minute until fluffy.", | ||
"While the cornbread is still hot, brush some of the honey butter overtop of the cornbread. Let cool for a few minutes and then slice the cornbread into 8 slices and serve warm with an extra dollop of honey butter, a drizzle of hot honey, and flaky sea salt." | ||
], | ||
"category": "Sides", | ||
"yields": "8 servings", | ||
"description": "This Cheddar Jalapeño Cornbread with Whipped Hot Honey Butter is absolutely delicious! The classic cheddar jalapeño skillet cornbread is taken to the next level with the perfect whipped hot honey butter to spread on top. Everyone will love it!", | ||
"total_time": 45, | ||
"prep_time": 20, | ||
"cuisine": "American", | ||
"ratings": 5.0, | ||
"ratings_count": 0, | ||
"nutrients": { | ||
"calories": "412 calories", | ||
"sugarContent": "11.6 g", | ||
"sodiumContent": "1172.4 mg", | ||
"fatContent": "25.2 g", | ||
"saturatedFatContent": "14.8 g", | ||
"transFatContent": "0.1 g", | ||
"carbohydrateContent": "37.9 g", | ||
"fiberContent": "2 g", | ||
"proteinContent": "9.7 g", | ||
"cholesterolContent": "111.3 mg" | ||
}, | ||
"image": "https://allthehealthythings.com/wp-content/uploads/2023/08/Jalapeno-Cheddar-Skillet-Cornbread-with-Whipped-Hot-Honey-Butter-6-scaled-225x225.jpg" | ||
} |
4,986 changes: 4,986 additions & 0 deletions
4,986
tests/test_data/allthehealthythings.com/allthehealthythings_1.testhtml
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
tests/test_data/allthehealthythings.com/allthehealthythings_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"author": "Ashlea Carver", | ||
"canonical_url": "https://allthehealthythings.com/mixed-berry-smoothie/", | ||
"site_name": "All the Healthy Things", | ||
"host": "allthehealthythings.com", | ||
"language": "en-US", | ||
"title": "Mixed Berry Smoothie", | ||
"ingredient_groups": [ | ||
{ | ||
"ingredients": [ | ||
"2 cups frozen mixed berries (raspberries, blueberries, blackberries)", | ||
"1 cup plain Greek yogurt", | ||
"1/2 orange juice", | ||
"1/4 cup pineapple juice" | ||
], | ||
"purpose": null | ||
} | ||
], | ||
"ingredients": [ | ||
"2 cups frozen mixed berries (raspberries, blueberries, blackberries)", | ||
"1 cup plain Greek yogurt", | ||
"1/2 orange juice", | ||
"1/4 cup pineapple juice" | ||
], | ||
"instructions": "Add all of the ingredients to a blender and blend until smooth and creamy.", | ||
"instructions_list": [ | ||
"Add all of the ingredients to a blender and blend until smooth and creamy." | ||
], | ||
"category": "Breakfast", | ||
"yields": "2 servings", | ||
"description": "This mixed berry recipe is filled with delicious mixed berries, tropical pineapple juice, and healthy fats thanks to Greek yogurt. It is smooth, creamy, and a delicious way to start your day!", | ||
"total_time": 5, | ||
"prep_time": 5, | ||
"cuisine": "American", | ||
"ratings": 5.0, | ||
"ratings_count": 0, | ||
"nutrients": { | ||
"calories": "299 calories", | ||
"sugarContent": "37.4 g", | ||
"sodiumContent": "52.8 mg", | ||
"fatContent": "7.8 g", | ||
"saturatedFatContent": "3.5 g", | ||
"transFatContent": "0 g", | ||
"carbohydrateContent": "45.5 g", | ||
"fiberContent": "3.9 g", | ||
"proteinContent": "14.7 g", | ||
"cholesterolContent": "18.5 mg" | ||
}, | ||
"image": "https://allthehealthythings.com/wp-content/uploads/2021/06/triple-berry-smoothie-4-1-225x225.jpg" | ||
} |
Oops, something went wrong.