Fix log message
This commit is contained in:
parent
e63ced82ae
commit
5ab72c1279
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ def isbn_api(request, isbn):
|
||||||
authors = authors.getText().strip()
|
authors = authors.getText().strip()
|
||||||
|
|
||||||
price = decitre_soup.select('.product-add-to-cart-wrapper div.price span.final-price')
|
price = decitre_soup.select('.product-add-to-cart-wrapper div.price span.final-price')
|
||||||
logger.info(f'Fonud price {price}')
|
logger.info(f'Found price html {price}')
|
||||||
if price:
|
if price:
|
||||||
price = price[0]
|
price = price[0]
|
||||||
price = price.getText().replace('€', '').replace(',', '.').strip()
|
price = price.getText().replace('€', '').replace(',', '.').strip()
|
||||||
|
|
Loading…
Reference in a new issue