ssnepenthe / recipe-scraper

A library for scraping recipes from popular recipe sites.
GNU General Public License v2.0
47 stars 15 forks source link

Epicurious extracting all strong descendants of ingredients and instructions #36

Closed ssnepenthe closed 5 years ago

ssnepenthe commented 5 years ago

Current selectors include all strong descendants of ingredient and instruction sections.

https://www.epicurious.com/recipes/food/views/glazed-cinnamon-cardamom-buns

This means the last two ingredients of the linked recipe are extracted as:

Do Ahead: Buns can be made 2 days ahead. Tightly wrap with plastic and store at room temperature. and Do Ahead:.

The latter should not be included.

Discovered thanks to #34.