Changed SQL INSERT so no injection is possible
This commit is contained in:
@@ -25,7 +25,11 @@ def get_price(soup):
|
||||
if "€" not in price:
|
||||
price = "N/A"
|
||||
except AttributeError:
|
||||
price = "N/A"
|
||||
price = "N/A"
|
||||
except Exception as e:
|
||||
price = "N/A"
|
||||
logging.price(f"Error getting price, using N/A: {e}")
|
||||
logging.info(f"Price found: {price}")
|
||||
|
||||
return price
|
||||
|
||||
|
||||
Reference in New Issue
Block a user