hhursev / recipe-scrapers

Python package for scraping recipes data
MIT License
1.7k stars 521 forks source link

Nutritional data filtering #1003

Closed jknndy closed 7 months ago

jknndy commented 7 months ago

Resolves #1001

edit by @jayaddison: s/Address/Resolves/

jknndy commented 7 months ago

After some further thought I removed the matching against RECIPE_YIELD_TYPES. In most instances where it's being used the information being removed is better left there. i.e.

   -"servingSize": "1 cookie (32g)",
   +"servingSize": "1 cookie",

  -  "servingSize": "1 piece with gravy",
  +  "servingSize": "1 piece",