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
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:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user