old_contents: from ._abstract import AbstractScraper
  from ._utils import get_minutes, normalize_string
  
  
  class SimplyRecipes(AbstractScraper):
  
      @classmethod
      def host(self):
          return 'simplyrecipes.com'
  
      def title(self):
          return self.soup.find('h1').get_text()
  
      def total_time(self):
          return get_minutes(self.soup.find('span', {'class': 'preptime'})) +\
                 get_minutes(self.soup.find('span', {'class': 'cooktime'}))
  
      def ingredients(self):
          ingredients_html = self.soup.findAll('li', {'class': "ingredient"})
  
          return [
              normalize_string(ingredient.get_text())
              for ingredient in ingredients_html
          ]
  
      def instructions(self):
          instructions_html = self.soup.find('div', {'itemprop': 'recipeInstructions'}).findAll('p')
  
          return '\n'.join([
              normalize_string(instruction.get_text())
              for instruction in instructions_html
          ])
  
new_contents: from ._abstract import AbstractScraper
  from ._utils import get_minutes, normalize_string
  
  
  class SimplyRecipes(AbstractScraper):
  
      @classmethod
      def host(self):
          return 'simplyrecipes.com'
  
      def title(self):
          return self.soup.find('h1').get_text()
  
      def total_time(self):
          return get_minutes(self.soup.find('span', {'class': 'preptime'})) +\
                 get_minutes(self.soup.find('span', {'class': 'cooktime'}))
  
      def ingredients(self):
          ingredients_html = self.soup.find('div', {'class':
              'recipe-ingredients'}).findAll('li')
  
          return [
              normalize_string(ingredient.get_text())
              for ingredient in ingredients_html
          ]
  
      def instructions(self):
          instructions_html = self.soup.find('div', {'itemprop': 'recipeInstructions'}).findAll('p')
  
          return '\n'.join([
              normalize_string(instruction.get_text())
              for instruction in instructions_html
          ])
  
subject: Fix #16 missing ingredients on Simply Recipes