Skip to content

Commit

Permalink
Merge pull request #8 from RyanNoelk/dev
Browse files Browse the repository at this point in the history
dev to master
  • Loading branch information
RyanNoelk authored Apr 7, 2017
2 parents 24a92b5 + eddf3b9 commit 311fa6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions recipe_scrapers/allrecipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def ingredients(self):
try:
array = ingredient.split(' ', 2)
ingredient_dict = {
'amount': round(float(sum(Fraction(s) for s in array[0].split())), 3),
'type': array[1],
'quantity': round(float(sum(Fraction(s) for s in array[0].split())), 3),
'measurement': array[1],
'title': array[2]
}
except:
Expand Down
4 changes: 2 additions & 2 deletions recipe_scrapers/budgetbytes.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def ingredients(self):
try:
array = ingredient.split(' ', 2)
ingredient_dict = {
'amount': round(unicodedata.numeric(array[0]), 3),
'type': array[1],
'quantity': round(unicodedata.numeric(array[0]), 3),
'measurement': array[1],
'title': array[2]
}
except:
Expand Down
9 changes: 0 additions & 9 deletions run_tester.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
setup(
name='openeats-recipe-scraper',
url='https://github.com/RyanNoelk/recipe-scraper/',
version='1.0.3',
version='1.0.4',
description='Python package, scraping recipes from all over the internet',
keywords='python recipes scraper harvest',
long_description=README,
Expand Down

0 comments on commit 311fa6b

Please sign in to comment.