Fix auction_scraper indentation
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-13 15:47:45 +01:00
parent 41790d359c
commit 9f3539ae09

View File

@ -413,13 +413,13 @@ class AuctionScraperService:
now = datetime.utcnow() now = datetime.utcnow()
for row in rows[:limit]: for row in rows[:limit]:
cols = row.find_all("td") cols = row.find_all("td")
if len(cols) < len(headers): if len(cols) < len(headers):
continue continue
domain = cols[header_index["Domain"]].get_text(" ", strip=True).lower() domain = cols[header_index["Domain"]].get_text(" ", strip=True).lower()
if not domain or "." not in domain: if not domain or "." not in domain:
continue continue
tld = domain.rsplit(".", 1)[-1].lower() tld = domain.rsplit(".", 1)[-1].lower()
@ -428,7 +428,7 @@ class AuctionScraperService:
continue continue
current_bid, currency = parsed_price current_bid, currency = parsed_price
if current_bid <= 0: if current_bid <= 0:
continue continue
bids_raw = cols[header_index["Bids"]].get_text(" ", strip=True) bids_raw = cols[header_index["Bids"]].get_text(" ", strip=True)
try: try: