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