Skip to content

Commit

Permalink
Fix hhursev#22 Steamy Kitchen
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolussetti authored and hhursev committed Oct 30, 2017
1 parent af1659e commit edecc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipe_scrapers/steamykitchen.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def host(self):
return 'steamykitchen.com'

def title(self):
return self.soup.find('span', {'itemprop': 'name'}).get_text()
return self.soup.find('h2', {'itemprop': 'name'}).get_text()

def total_time(self):
return get_minutes(self.soup.find(itemprop='prepTime').next_sibling) +\
Expand All @@ -25,7 +25,7 @@ def ingredients(self):
]

def instructions(self):
instructions_html = self.soup.findAll('span', {'itemprop': 'recipeInstructions'})
instructions_html = self.soup.find('div', {'class': 'instructions'}).findAll('p')

return '\n'.join([
normalize_string(instruction.get_text())
Expand Down

0 comments on commit edecc69

Please sign in to comment.