interval number of persons for all cookboob backends
This commit is contained in:
parent
aed9a8a511
commit
358881dd48
4 changed files with 5 additions and 5 deletions
|
|
@ -96,7 +96,7 @@ class RecipePage(BasePage):
|
|||
cooking_time = 60*cooking_time
|
||||
if 'Nombre de personnes' in info_title.text:
|
||||
if info_title.tail.strip() != '':
|
||||
nb_person = int(info_title.tail)
|
||||
nb_person = [int(info_title.tail)]
|
||||
|
||||
ingredients = []
|
||||
p_ing = self.parser.select(main, 'div.data.top.left > div.content p')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue