fix: Correct indentation errors in backend services
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

- Fix 2 indentation errors in domain_checker.py (lines 200, 205)
- Fix 2 indentation errors in domain_health.py (lines 412, 436, 447)
- Fix NameError in playwright_scraper.py when playwright not installed
- Add fallback type definitions for Browser, BrowserContext, Page
This commit is contained in:
2025-12-11 20:10:35 +01:00
parent 9acc40b658
commit 4276de7774
3 changed files with 11 additions and 7 deletions

View File

@ -42,6 +42,10 @@ try:
except ImportError:
PLAYWRIGHT_AVAILABLE = False
Stealth = None
# Define dummy types for type hints
Browser = Any
BrowserContext = Any
Page = Any
logger.warning("Playwright not installed. Stealth scraping disabled.")