Skip to content

Commit

Permalink
Change logging from warning to debug for detail extraction failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fzozyurt committed Dec 28, 2024
1 parent 77b183b commit 6d029bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/ky_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_data(soup):
rating = ""
rating_count = ""
NLP_Data = ""
logging.warning("Failed to extract some details for %s: %s", title, str(e))
logging.debug("Failed to extract some details for %s - %s: %s", title,url, str(e))
converted_price = tur_degistir(price)
last_price = float(son_fiyat_sorgu(url))
if converted_price != last_price:
Expand Down

0 comments on commit 6d029bb

Please # to comment.