Phase 0: Project restructure to ReviewIQ platform architecture
New structure: - scrapers/google_reviews/v1_0_0.py (was modules/scraper_clean.py) - scrapers/base.py (BaseScraper interface) - scrapers/registry.py (ScraperRegistry for version routing) - core/database.py, models.py, config.py, enums.py - utils/logger.py, crash_analyzer.py, health_checks.py, helpers.py, date_converter.py - workers/chrome_pool.py - services/webhook_service.py - api/ routes structure (empty, ready for Phase 2) - tests/ structure mirroring source All imports updated in: - api_server_production.py (7 import paths updated) - utils/health_checks.py (scraper import path) Legacy modules moved to modules/_legacy/: - data_storage.py, image_handler.py, s3_handler.py (unused) Syntax verified, frontend build passing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
21
scrapers/google_reviews/__init__.py
Normal file
21
scrapers/google_reviews/__init__.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
Google Reviews Scraper Package
|
||||
|
||||
This package contains the Google Reviews scraper implementations.
|
||||
"""
|
||||
|
||||
from scrapers.google_reviews.v1_0_0 import (
|
||||
scrape_reviews,
|
||||
fast_scrape_reviews,
|
||||
get_business_card_info,
|
||||
extract_about_info,
|
||||
LogCapture,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"scrape_reviews",
|
||||
"fast_scrape_reviews",
|
||||
"get_business_card_info",
|
||||
"extract_about_info",
|
||||
"LogCapture",
|
||||
]
|
||||
Reference in New Issue
Block a user