hhursev / recipe-scrapers

Python package for scraping recipes data
MIT License
1.66k stars 514 forks source link

Scraping recipes that have a yields of `3 dozen` results in a yields of `3 servings` #960

Closed sbdchd closed 8 months ago

sbdchd commented 8 months ago

Pre-filing checks

If a recipe has a yield in the json+ld of About 3 dozen, then the get_yields function in the utils will end up returning 3 servings instead of About 3 dozen

jknndy commented 8 months ago

hey @sbdchd, thanks for the bug report! Could you please provide an example URL that was returning this?

sbdchd commented 8 months ago

https://cooking.nytimes.com/recipes/1020665-potato-chip-chocolate-chip-cookies