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")