From 9f3539ae092bb77e5ec7e188591fedd2f30a4f38 Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Sat, 13 Dec 2025 15:47:45 +0100 Subject: [PATCH] Fix auction_scraper indentation --- backend/app/services/auction_scraper.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/app/services/auction_scraper.py b/backend/app/services/auction_scraper.py index a085873..7f4fc5d 100644 --- a/backend/app/services/auction_scraper.py +++ b/backend/app/services/auction_scraper.py @@ -413,14 +413,14 @@ class AuctionScraperService: now = datetime.utcnow() for row in rows[:limit]: - cols = row.find_all("td") + cols = row.find_all("td") if len(cols) < len(headers): - continue - + continue + domain = cols[header_index["Domain"]].get_text(" ", strip=True).lower() if not domain or "." not in domain: - continue - + continue + tld = domain.rsplit(".", 1)[-1].lower() parsed_price = self._parse_price_currency(cols[header_index["Price"]].get_text(" ", strip=True)) @@ -428,8 +428,8 @@ class AuctionScraperService: continue current_bid, currency = parsed_price if current_bid <= 0: - continue - + continue + bids_raw = cols[header_index["Bids"]].get_text(" ", strip=True) try: num_bids = int(re.sub(r"[^0-9]", "", bids_raw) or "0")