onetsp / RecipeParser

A PHP library for parsing structured recipe data from HTML files.
https://onetsp.com/
MIT License
93 stars 26 forks source link

FoodNetwork parsing issues with photos #8

Closed onetsp closed 10 years ago

onetsp commented 11 years ago

User reported issue:

Recently, I noticed that for recipes that I clip from foodnetwork.com, I end up with a picture of the chef rather than a picture of the recipe. Also, in the past I have noticed that even though the bookmarklet would extract the picture for most recipes, it wouldn't extract it for recipes that have an embedded video (inspecting the element gives me a link to the recpie photo and if I just replace the _med.jpg with _lg.jpg, I can get a better quality image). For example, for the following recipe: http://www.foodnetwork.com/recipes/giada-de-laurentiis/pork-chops-stuffed-with-sun-dried-tomatoes-and-spinach-recipe/index.html, the larger image is at http://img.foodnetwork.com/FOOD/2008/01/07/EI1103_Pork_Chops_lg.jpg

onetsp commented 10 years ago

Fixed.